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

2012-03-13 Thread Kashif Rahman
Hi, I am using mod_proxy_balancer, because in that case I would be able to handle load balancing or failover. I followed this URL: http://www.johnandcailin.com/blog/john/scaling-drupal-step-two-sticky-load-b alancing-apache-modproxy for php. I have placed PHP sessions on mounted locatio

[users@httpd] htaccess

2012-03-13 Thread Nick Edwards
Hi, Just trying to clarify it is best to allow these in the virtualhost root on a per domain For instance at present we have AllowOverride None Options None Require all denied I know this is good :) But then we have AllowOverride AuthConfig Options +Indexes now assume ea

Re: [users@httpd] Apache httpd with custom module does not start when I am not running is root

2012-03-13 Thread William Taylor
On Tuesday, March 13, 2012 11:01:51 PM, Abhi Auradkar wrote: > > All, > > > I have apache httpd 2.2.21. I load a custom module into it. > When this is done I always need to be a root or sudo to start apache > process. > > If I run apache as any other user the command 'httpd -k start' never > return

[users@httpd] Apache httpd with custom module does not start when I am not running is root

2012-03-13 Thread Abhi Auradkar
All,    I have apache httpd 2.2.21. I load a custom module into it.  When this is done I always need to be a root or sudo to start apache process.  If I run apache as any other user the command 'httpd -k start' never returns to prompt.  If I comment the LoadModule for my module apache starts fi

[users@httpd] Apache httpd with custom module does not start when I am not running is root

2012-03-13 Thread Abhi Auradkar
All,    I have apache httpd 2.2.21. I load a custom module into it.  When this is done I always need to be a root or sudo to start apache process.  If I run apache as any other user the command 'httpd -k start' never returns to prompt.  If I comment the LoadModule for my module apache starts fi

[users@httpd] CGI HTTPS variable not being set using AJP+Jetty

2012-03-13 Thread SpliFF
I recently switched from using a Caucho Resin backend (mod_caucho) to Jetty 7.2.2 via AJP for running Railo webapps under Apache 2.2.19/Centos 5 An issue that has come up since the switch is that HTTPS sites no longer set the CGI scope variable 'https' to 'on' - it's just an empty string. I'm no

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Jim Jagielski
On Mar 13, 2012, at 1:40 PM, William Taylor wrote: > It's unfortunate that it has to work this way but forks are pretty cheap > these days. > > No it doesn't generate content. It can't run as a CGI. Cheap != free no matter how cheap ;) ---

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Jim Jagielski
On Mar 13, 2012, at 1:25 PM, Tom Evans wrote: > On Tue, Mar 13, 2012 at 5:19 PM, William Taylor > wrote: >> I wouldn't say it's silly, but definitely not the norm and obviously a >> low priority >> for everyone else. > > I would say that forking an entire new process to handle a single > reque

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

2012-03-13 Thread Anam Ali Khan
Last but not the least mod_proxy_balancer supports AJP protocol :) -Anam From: Anam Ali Khan To: "users@httpd.apache.org" ; Kashif Rahman Sent: Tuesday, 13 March 2012, 23:07 Subject: Re: [users@httpd] Apache + Tomcat Load Balancing Dear Kashif, as per yo

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

2012-03-13 Thread Anam Ali Khan
Dear Kashif, as per your comments below:   We are using mod_proxy_ajp   Tomcat is clustered. Session replication works, if single Apache is handling 2 tomcat instances. When we start second Apache, tomcat session replication stops. We want to have failover for PHP side too. Why are you using mo

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread William Taylor
On Tuesday, March 13, 2012 10:25:54 AM, Tom Evans wrote: > > On Tue, Mar 13, 2012 at 5:19 PM, William Taylor > wrote: >> >> I wouldn't say it's silly, but definitely not the norm and obviously a >> low priority >> for everyone else. > > > I would say that forking an entire new process to handle a

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Tue, Mar 13, 2012 at 5:19 PM, William Taylor wrote: > I wouldn't say it's silly, but definitely not the norm and obviously a > low priority > for everyone else. I would say that forking an entire new process to handle a single request and then exiting could possibly be the most silly way to se

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread William Taylor
On Tuesday, March 13, 2012 10:11:17 AM, Tom Evans wrote: > > On Tue, Mar 13, 2012 at 4:58 PM, William Taylor > wrote: >> >> On Tuesday, March 13, 2012 2:42:35 AM, Tom Evans wrote: >>> >>> >>> On Mon, Mar 12, 2012 at 7:39 PM, William Taylor >>> wrote: Previously posted to dev and bu

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Tue, Mar 13, 2012 at 4:58 PM, William Taylor wrote: > On Tuesday, March 13, 2012 2:42:35 AM, Tom Evans wrote: >> >> On Mon, Mar 12, 2012 at 7:39 PM, William Taylor >> wrote: >>> >>> Previously posted to dev and bugs. Posting here also in hopes of >>> capturing a greater audience that might hav

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread William Taylor
On Tuesday, March 13, 2012 2:42:35 AM, Tom Evans wrote: > > On Mon, Mar 12, 2012 at 7:39 PM, William Taylor > wrote: >> >> Previously posted to dev and bugs. Posting here also in hopes of >> capturing a greater audience that might have come >> across this issue before. >> >> We have written a modu

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Mon, Mar 12, 2012 at 7:39 PM, William Taylor wrote: > Previously posted to dev and bugs. Posting here also in hopes of > capturing a greater audience that might have come > across this issue before. > > We have written a modules for apache that for certain reasons requires > one hit per child.

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

2012-03-13 Thread Anam Ali Khan
First check Apache supports session stickness in PHP application environment, if yes then you can go with your current configuration instead of HAproxy. -Anam From: Kashif Rahman To: users@httpd.apache.org; 'Anam Ali Khan' Sent: Tuesday, 13 March 2012, 2:45

Re: [users@httpd] mod_status output and MaxClients

2012-03-13 Thread Simone Caruso
On 12/03/2012 20:36, Arianna Manlio wrote: > Hi, > > please, look at this mod-status output: > > Current Time: Monday, 12-Mar-2012 17:00:38 CET > Restart Time: Monday, 12-Mar-2012 16:58:11 CET > Parent Server Generation: 4 > Current Time: Monday, 12-Mar-2012 17:00:38 CET > Restart Time: Monday, 1