Re: [users@httpd] 2.4.1 vhost setup

2012-03-09 Thread Lester Caine
Daniel wrote: OK what am I doing wrong AH00548: NameVirtualHost has no effect and will be removed in the next release /opt/apache2/conf/httpd.conf:__345 But if it has no effect why when I remove it does the machine block my access to the virtual host directories? What have I

Re: [users@httpd] 2.4.1 vhost setup

2012-03-09 Thread Lester Caine
Eric Covener wrote: On Fri, Mar 9, 2012 at 2:06 PM, Lester Caine wrote: > OK what am I doing wrong > > AH00548: NameVirtualHost has no effect and will be removed in the next > release /opt/apache2/conf/httpd.conf:345 > > But if it has no effect why when I remove it does the machine block my

Re: [users@httpd] 2.4.1 vhost setup

2012-03-09 Thread Daniel
Are you by chance using mod_deflate with that config? It caused seg faults for me as well, but changing the .htaccess code for compression to the code in Apache's documentation fixed it for me. On Mar 9, 2012 3:06 PM, "Lester Caine" wrote: > OK what am I doing wrong > > AH00548: NameVirtualHost h

Re: [users@httpd] 2.4.1 vhost setup

2012-03-09 Thread Eric Covener
On Fri, Mar 9, 2012 at 2:06 PM, Lester Caine wrote: > OK what am I doing wrong > > AH00548: NameVirtualHost has no effect and will be removed in the next > release /opt/apache2/conf/httpd.conf:345 > > But if it has no effect why when I remove it does the machine block my > access to the virtual ho

[users@httpd] mod_proxy_xml and multi-namespace xml files?

2012-03-09 Thread Nick Burch
Hi All For a demo, I find myself needing to re-write some URLs in an atompub service document that's being proxied. I thought that mod_proxy_xml might be a good bet for this, but I'm having some issues. Firstly, I took the mod_proxy_xml source code, and needed to edit it to add support for a

Re: [users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Nick Kew
On Fri, 09 Mar 2012 16:37:44 + Alex Bligh wrote: > However, I /think/ it means that there is one connection per > worker in a non-threaded environment still? In a non-threaded environment, your choices are the two classic/ ancient models: original CGI (one connection per hit) and original LA

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Simone Frattegiani
Thank you so much for all your helpful advice! I'll take a few days to review all your suggestions and anylize the problem, and i will let you know as soon as i'll have news! Cheers :) On Fri, Mar 9, 2012 at 2:01 PM, Tom Evans wrote: > On Fri, Mar 9, 2012 at 8:07 AM, Simone Frattegiani > wrote

[users@httpd] 2.4.1 vhost setup

2012-03-09 Thread Lester Caine
OK what am I doing wrong AH00548: NameVirtualHost has no effect and will be removed in the next release /opt/apache2/conf/httpd.conf:345 But if it has no effect why when I remove it does the machine block my access to the virtual host directories? What have I got wrong? I've also got one ap

Re: [users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Alex Bligh
Nick, --On 9 March 2012 15:05:10 + Nick Kew wrote: (I am running non-threaded due to various legacy nonsense). If you're running non-threaded then those DBD settings make no sense: you need DBDMax of 1 and DBDMin of 0 or 1. That's fine, I suppose, as far as it goes, and thank you fo

Re: [users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Nick Kew
On Fri, 09 Mar 2012 14:04:19 + Alex Bligh wrote: >(I am running non-threaded due to various > legacy nonsense). If you're running non-threaded then those DBD settings make no sense: you need DBDMax of 1 and DBDMin of 0 or 1. I suppose it's a buglet that mod_dbd only knows whether APR is

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-09 Thread Anam Ali Khan
Hi,I would recommend HAProxy as a load balancer in your PHP + JSP application environment. It will work as follows:1. First HAProxy will accept client request.2. It will forward those requests to two machines via round robin 3. Each WebServer must use mod_jk as a connector (module) for Apache/Tomc

[users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Alex Bligh
I have a busy websebserver with a configuration like this: SSLEngine on DocumentRoot /opt/busy DBDriver pgsql DBDParams "host=192.200.2.2 dbname=foo user=foo password=foo" DBDMin 4 DBDKeep 8 DBDMax 20 DBDExptime 300

Re: [users@httpd] mod_proxy removing/filtering origin response headers

2012-03-09 Thread Jim Jagielski
On Mar 9, 2012, at 5:46 AM, Nick Kew wrote: > > You could also question why the websockets folks went and abused hop-by-hop > headers when they could instead have done what HTTP provides for and > created extension headers to meet their needs without breaking anything! > Why? Because it's *webs

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Tom Evans
On Fri, Mar 9, 2012 at 8:07 AM, Simone Frattegiani wrote: > Hello, > > i suddendly started having CPU load issues, like this: A couple of things: > Server-status shows this: > > […] > ReqPerSec: 6.37383 > BusyWorkers: 99 > IdleWorkers: 10 > Scoreboard: WWW > This is

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Pete Houston
On Fri, Mar 09, 2012 at 09:07:34AM +0100, Simone Frattegiani wrote: > > Server-status shows this: > > Total Accesses: 292068 > Total kBytes: 5540956 > CPULoad: .0884054 > Uptime: 45823 > ReqPerSec: 6.37383 > BytesPerSec: 123823 > BytesPerReq: 19426.8 > BusyWorkers: 99 > IdleWorkers: 10 > Scoreboa

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Igor Cicimov
You didnt tell us what OS is the apache running on? If Unix/Linux you might check the TCP kernel parameters like tcp_keepalive and the socket timeouts. On Mar 9, 2012 9:34 PM, "Simone Frattegiani" wrote: > Hello, thanks for your reply. > > Here are my settings (never changed them): > > Timeout 6

[users@httpd] Stop mod_ssl from sending empty packets (if it ever does)?

2012-03-09 Thread Fredrik Jonson
Hi all, I'm running Apache 2.2.16 with mod_ssl on Debian Squeeze, and I've stumbled on a issue related to mod_ssl. I have application clients running on windows mobile 6.5 that make requests against the debian server using https. Regularily the requests fails even though the network is just fine

Re: [users@httpd] mod_proxy removing/filtering origin response headers

2012-03-09 Thread Nick Kew
On 8 Mar 2012, at 21:35, TomFennelly wrote: > > Hi there. > > I have a reverse proxy configured, but mod_proxy seems to be removing some > of the response headers that were sent from the origin server. I need the > ones in question to be passed back to the client (websocket connection > upgrad

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Simone Frattegiani
Hello, thanks for your reply. Here are my settings (never changed them): Timeout 60 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 1 On Fri, Mar 9, 2012 at 11:11 AM, Igor Cicimov wrote: > What are your TimeOut and KeepAliveTimeout values? > > On Mar 9, 2012 7:08 PM, "Simone Frattegiani

[users@httpd] Re: mod_proxy removing/filtering origin response headers

2012-03-09 Thread TomFennelly
Looks like this is common enough problem with apache (and proxies in general) and websockets... http://www.gossamer-threads.com/lists/apache/users/393509 -- View this message in context: http://old.nabble.com/mod_proxy-removing-filtering-origin-response-headers-tp33468056p33470889.html Sent from

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Igor Cicimov
What are your TimeOut and KeepAliveTimeout values? On Mar 9, 2012 7:08 PM, "Simone Frattegiani" wrote: > Hello, > > i suddendly started having CPU load issues, like this: > > top - 03:52:04 up 3 days, 8:52, 0 users, load average: 74.35, 73.66, 71.41 > Tasks: 304 total, 75 running, 229 sleeping,

[users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Simone Frattegiani
Hello, i suddendly started having CPU load issues, like this: top - 03:52:04 up 3 days, 8:52, 0 users, load average: 74.35, 73.66, 71.41 Tasks: 304 total, 75 running, 229 sleeping, 0 stopped, 0 zombie Cpu(s): 72.1%us, 2.0%sy, 0.1%ni, 23.9%id, 1.2%wa, 0.4%hi, 0.4%si, 0.0%st Mem: 3115464k total, 28