Re: [us...@httpd] Filter or Handler to look at content length and return custom error message suggestion

2010-11-18 Thread Mohit Anchlia
On Wed, Nov 17, 2010 at 5:56 PM, Mohit Anchlia wrote: > On Wed, Nov 17, 2010 at 4:50 PM, Eric Covener wrote: >> On Wed, Nov 17, 2010 at 5:58 PM, Mohit Anchlia >> wrote: >>> Apache 2: >>> >>> I have a requirement to look at content length and if it is greatar >>> than desired size then return er

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-18 Thread William A. Rowe Jr.
On 11/18/2010 3:03 PM, Ahmed Bakir wrote: > Thanks for the tip, Igor. > > What do you think might be the discrepancy between 2.0 and 2.2? Does 2.2 just > serve > requests faster? mod_proxy_balancer after 2.2.9 is an entirely unrelated beast to the earlier monster. By conserving/recycling the co

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-18 Thread Ahmed Bakir
Thanks for the tip, Igor. What do you think might be the discrepancy between 2.0 and 2.2? Does 2.2 just serve requests faster? Regards, Ahmed 2010/11/18 Igor Galić > > - "Ahmed Bakir" wrote: > > > Ugh, it reared it's ugly head again. > > > > When i try to use ProxyPassMatch, i get the nas

[us...@httpd] Nested AD groups with Require group

2010-11-18 Thread Dale Bohl
Hello, I've been banging my head on this one for days now. Are nested AD groups supported with mod_auth_pam? I've googled this issue but it appears not many admins are using this and/or it could possibly be a bug in the apache module. Config -- Red Hat Enterprise Linux Server release 5.

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-18 Thread Igor Galić
- "Ahmed Bakir" wrote: > Ugh, it reared it's ugly head again. > > When i try to use ProxyPassMatch, i get the nasty 503 errors again 503 means Service Unavailable > Are mod_proxy/mod_rewrite just totally broken on 2.2 for regular > expressions under load? That doesn't mean your proxy ca

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-18 Thread Ahmed Bakir
Ugh, it reared it's ugly head again. When i try to use ProxyPassMatch, i get the nasty 503 errors again Are mod_proxy/mod_rewrite just totally broken on 2.2 for regular expressions under load? Thanks, Ahmed On Thu, Nov 18, 2010 at 9:20 AM, Ahmed Bakir wrote: > Thanks, Jeroen. > > I used a pro

Re: [us...@httpd] Module Compiles, Won't Load

2010-11-18 Thread Eric Covener
On Thu, Nov 18, 2010 at 12:02 PM, Michael Powe wrote: > On Thu, Nov 18, 2010 at 09:17:13AM -0500, Eric Covener wrote: >> On Thu, Nov 18, 2010 at 9:10 AM, Michael Powe wrote: >> > Hello, >> > >> > RedHat Linux 64-bit.  IHS 7.0, which is based on Apache 2.2.x and uses >> > APR 1.2. >> > >> > I have

Re: [us...@httpd] httpd choking (503 errors) when stressing mod_proxy

2010-11-18 Thread Ahmed Bakir
Thanks, Jeroen. I used a proxy block with a proxypass option and that fixed my problem. It actually worked perfectly at the base configuration, the proxy pool settings etc helped alleviate the problem but did not remove it completely. The same was observed for KeepAlive Off. I still suspect that

[us...@httpd] Proper way to reference intermediate certificates in Apache 2.2.x

2010-11-18 Thread Ray Van Dolson
I just updated a Verisign certificate for one of our sites, and noticed Firefox was complaining that it wasn't valid. This usually happens when Verisign's released a new intermediate certificate, and I typically just install the new one and point to it using SSLCACertificateFile. This time around

Re: [us...@httpd] Module Compiles, Won't Load

2010-11-18 Thread Michael Powe
On Thu, Nov 18, 2010 at 09:17:13AM -0500, Eric Covener wrote: > On Thu, Nov 18, 2010 at 9:10 AM, Michael Powe wrote: > > Hello, > > > > RedHat Linux 64-bit.  IHS 7.0, which is based on Apache 2.2.x and uses > > APR 1.2. > > > > I have a module which compiles on this system but loading fails with >

[us...@httpd] how can I see the configuration used by a running apache

2010-11-18 Thread anton
Hi, I would like to see the whole configuration settings which the apache process itself "sees". I have a bunch of big config files which are read by apache, and would like to know what he has "read" (= the parsed settings). I tried apache2ctl -S and similar but I don't see the settings/configur

RE: [us...@httpd] Easiest way to monitoring when Apache reach MaxClients.

2010-11-18 Thread Rubén Ortiz
Hi Igor Yeah, I took but I have to understand what I am seeing :) After your reply, I have launched a ab benchmark with some values and I have a related question. Srv Child Server number - generation, what does it mean? Keep in mind that my first objective is to find how to monitor, how can

Re: [us...@httpd] Easiest way to monitoring when Apache reach MaxClients.

2010-11-18 Thread Igor Galić
- "Rubén Ortiz" wrote: > Hi all > > It is my very first email to community asking help and advices to > Apache > system administration. I have worked with Apache since 2004 on CentOS > distribution most of the time. > > Currently I am worried about MaxClients. I work today with Apache > 2.

Re: [us...@httpd] Module Compiles, Won't Load

2010-11-18 Thread Eric Covener
On Thu, Nov 18, 2010 at 9:10 AM, Michael Powe wrote: > Hello, > > RedHat Linux 64-bit.  IHS 7.0, which is based on Apache 2.2.x and uses > APR 1.2. > > I have a module which compiles on this system but loading fails with > the error 'wrong ELF class: ELFCLASS64'. > > 'file' indicates that this mod

[us...@httpd] Module Compiles, Won't Load

2010-11-18 Thread Michael Powe
Hello, RedHat Linux 64-bit. IHS 7.0, which is based on Apache 2.2.x and uses APR 1.2. I have a module which compiles on this system but loading fails with the error 'wrong ELF class: ELFCLASS64'. 'file' indicates that this module and other modules in the directory are 64-bit. Other modules loa

[us...@httpd] Easiest way to monitoring when Apache reach MaxClients.

2010-11-18 Thread Rubén Ortiz
Hi all It is my very first email to community asking help and advices to Apache system administration. I have worked with Apache since 2004 on CentOS distribution most of the time. Currently I am worried about MaxClients. I work today with Apache 2.2.16 with prefork and KeepAlives disabled. I ca