Re: [users@httpd] server-status 404

2011-08-17 Thread msacks
Thanks Craig. I don't have the a2enmod script present, but mod_status.so is definitely there: apache2]# file modules/mod_status.so modules/mod_status.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped You are right though, it's not showing as being loaded. mod_status ca

Re: [users@httpd] KeepAlive setting under heavy load

2011-08-17 Thread Craig Huffstetler
On Wed, Aug 17, 2011 at 10:09, Pratte, Gil wrote: > ** > > I have read conflicting reports regarding the KeepAlive setting. Under load > the website has hundreds to thousands of users logged in at any given time. > I am in the process of tuning it for performance under load. > > My question is: S

Re: [users@httpd] number of connection on Windows Apache

2011-08-17 Thread Craig Huffstetler
On Wed, Aug 17, 2011 at 16:51, wrote: > Hi, I am using Apache 2.2.17 on Windows Server. To experiment with the > limit of number of simultaneous connection, I used the directive > ThreadsPerChild set the number to 1. So I am only supposed to be able to > have one connection at a time. But I am su

Re: [users@httpd] server-status 404

2011-08-17 Thread Craig Huffstetler
> > > Loaded Modules: > > > In your loaded modules list I do not see "mod_status". Did you compile this on your server and restart or reload Apache (/etc/init.d/apache2 force-reload)? Also, confirm the module is the correct path. Currently, you have: LoadModule status_module modules/mod_sta

Re: [users@httpd] number of connection on Windows Apache

2011-08-17 Thread go1010
On Wed, 17 Aug 2011 23:51 +0200, "Jeroen Geilman" wrote: > On 2011-08-17 22:51, go1...@mailnew.com wrote: > > Hi, I am using Apache 2.2.17 on Windows Server. To experiment with the > > limit of number of simultaneous connection, I used the directive > > ThreadsPerChild set the number to 1. So I

Re: [users@httpd] number of connection on Windows Apache

2011-08-17 Thread Jeroen Geilman
On 2011-08-17 22:51, go1...@mailnew.com wrote: Hi, I am using Apache 2.2.17 on Windows Server. To experiment with the limit of number of simultaneous connection, I used the directive ThreadsPerChild set the number to 1. So I am only supposed to be able to have one connection at a time. But I am s

[users@httpd] number of connection on Windows Apache

2011-08-17 Thread go1010
Hi, I am using Apache 2.2.17 on Windows Server. To experiment with the limit of number of simultaneous connection, I used the directive ThreadsPerChild set the number to 1. So I am only supposed to be able to have one connection at a time. But I am surprised to see I can use two curl clients to dow

Re: [users@httpd] RE: KeepAlive setting under heavy load

2011-08-17 Thread Jeroen Geilman
On 2011-08-17 16:55, Pratte, Gil wrote: I left out one detail - Apache HTTP is only being used as a reverse proxy. Then you want keepalive on and set high. Persistent connections to your backend are obviously beneficial. This depends on how many backend servers you have, but even with, say,

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 4:56 PM, Richard Taubo wrote: > Thanks! > > So to be 110% clear, since this is kind of important to get right :-) > > 1) So either this – leave off the / from the end of the rewritten URL: >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > > 2) Or this – not c

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Richard Taubo
On 17. aug. 2011, at 15.36, Tom Evans wrote: > On Wed, Aug 17, 2011 at 2:27 PM, Richard Taubo wrote: >> Hi! >> >> I originally set my virtual host up like this in my httpd.conf file: >> >> >> >> Question 1) >> Are there any problems running a): >>RewriteRule ^(.*)$ http://www.example.c

[users@httpd] RE: KeepAlive setting under heavy load

2011-08-17 Thread Pratte, Gil
I left out one detail - Apache HTTP is only being used as a reverse proxy. Thanks for all the replies. gil pratte -Original Message- From: Pratte, Gil Sent: Wed 8/17/2011 9:09 AM To: users@httpd.apache.org Subject: KeepAlive setting under heavy load I have read conflicting reports reg

Re: [users@httpd] KeepAlive setting under heavy load

2011-08-17 Thread Jeff Trawick
On Wed, Aug 17, 2011 at 10:09 AM, Pratte, Gil wrote: > I have read conflicting reports regarding the KeepAlive setting. Under load > the website has hundreds to thousands of users logged in at any given time. > I am in the process of tuning it for performance under load. > > My question is: Should

Re: [users@httpd] KeepAlive setting under heavy load

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 3:09 PM, Pratte, Gil wrote: > I have read conflicting reports regarding the KeepAlive setting. Under load > the website has hundreds to thousands of users logged in at any given time. > I am in the process of tuning it for performance under load. > > My question is: Should

[users@httpd] KeepAlive setting under heavy load

2011-08-17 Thread Pratte, Gil
I have read conflicting reports regarding the KeepAlive setting. Under load the website has hundreds to thousands of users logged in at any given time. I am in the process of tuning it for performance under load. My question is: Should I set KeepAlive to On or Off for a website under heavy load

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 2:27 PM, Richard Taubo wrote: > Hi! > > I originally set my virtual host up like this in my httpd.conf file: > > > > Question 1) > Are there any problems running a): >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > Rather than b): >        RewriteRule ^(.*)

[users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Richard Taubo
Hi! I originally set my virtual host up like this in my httpd.conf file: ServerName www.example.com ServerAlias example.com RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] Running curl to check t