[us...@httpd] Re: Authentication of proxy over own module

2010-06-16 Thread Petr Hracek
Sorry my wrong explanation. I have ment the when the request is authorized/authenticated by my module how the request should be sent to the proxy IP address define in apache module: RewriteRule ^/PAC$ http://192.168.0.23:8080/PACAdmin [P] RewriteRule ^/PAC/(.*)

Re: [us...@httpd] Apache getting stuck with all workers in a BUSY_READ state

2010-06-16 Thread David Fallon
Thanks for the suggestion, but unfortunately I've tried that - truss in this case is attaching post whatever it's blocking on (so I just see it sleeping), and I haven't yet waited out the problem to see what happens when/if whatever's blocking times out. Any other ideas? On Tue, Jun 15, 2010 at

Re: [us...@httpd] Apache getting stuck with all workers in a BUSY_READ state

2010-06-16 Thread Eric Covener
On Wed, Jun 16, 2010 at 9:33 AM, David Fallon davef@gmail.com wrote: Thanks for the suggestion, but unfortunately I've tried that - truss in this case is attaching post whatever it's blocking on (so I just see it sleeping), and I haven't yet waited out the problem to see what happens

[us...@httpd] see the url vars for a request

2010-06-16 Thread Matthew P. Smith
I would like to see the url vars present in a request. How do I do so? I looked in the dummy-host2.sitename_com.log under logs, and access.log is only a few bytes. Thanks!

Re: [us...@httpd] I/O accounting for all processes?

2010-06-16 Thread Jakov Sosic
On 06/16/2010 06:49 AM, Scott Gifford wrote: On Tue, Jun 15, 2010 at 5:33 PM, Jakov Sosic jakov.so...@srce.hr mailto:jakov.so...@srce.hr wrote: I'm interested in measuring I/O that all apache processes are generating. I used mod_logio to solve a similar problem not too long ago,

[us...@httpd] OCSP, CRL, apache and openssl questions

2010-06-16 Thread Luis Neves
Hi there, I am unable to use the SSLOCSPEnable directive in ssl.conf My httpd-2.2.3-6 running on RHEL5 gives a unknown module error when restarted: nvalid command 'SSLOCSPEnable', perhaps misspelled or defined by a module not included in the server configuration here

Re: [us...@httpd] I/O accounting for all processes?

2010-06-16 Thread Dennis J.
On 06/16/2010 06:16 PM, Jakov Sosic wrote: On 06/16/2010 06:49 AM, Scott Gifford wrote: On Tue, Jun 15, 2010 at 5:33 PM, Jakov Sosicjakov.so...@srce.hr mailto:jakov.so...@srce.hr wrote: I'm interested in measuring I/O that all apache processes are generating. I used mod_logio to

Re: [us...@httpd] 100% CPU utilization by Apache

2010-06-16 Thread Tapas Mishra
On Wed, Jun 16, 2010 at 7:08 PM, Mark Watts m.wa...@eris.qinetiq.com wrote: High CPU usage is generally caused by things like PHP which Apache has no control over.        strace -p pid If you run this against the PID stuck at 100%, it should give you some insight into what apache is doing.

Re: [us...@httpd] see the url vars for a request

2010-06-16 Thread Tapas Mishra
You need to have a Custom Log Add 2 lines to your vhost like this CustomLog /var/log/apache2/smith-resp smith LogFormat %h %l %u %t \%r\ %s %b smith what each of the symbol does above that you can find out reading http://httpd.apache.org/docs/2.1/mod/mod_log_config.html so depending upon your

Re: [us...@httpd] Apache getting stuck with all workers in a BUSY_READ state

2010-06-16 Thread Scott Gifford
On Wed, Jun 16, 2010 at 9:33 AM, David Fallon davef@gmail.com wrote: Thanks for the suggestion, but unfortunately I've tried that - truss in this case is attaching post whatever it's blocking on (so I just see it sleeping), and I haven't yet waited out the problem to see what happens

Re: [us...@httpd] I/O accounting for all processes?

2010-06-16 Thread Scott Gifford
On Wed, Jun 16, 2010 at 12:16 PM, Jakov Sosic jakov.so...@srce.hr wrote: On 06/16/2010 06:49 AM, Scott Gifford wrote: On Tue, Jun 15, 2010 at 5:33 PM, Jakov Sosic jakov.so...@srce.hr mailto:jakov.so...@srce.hr wrote: I'm interested in measuring I/O that all apache processes are

Re: [us...@httpd] 100% CPU utilization by Apache

2010-06-16 Thread Frank Contrepois
more than php a php library. Quite often it's a database one that creates those loop. Maybe while waiting for a big query to end (should sleep but libs are not always done the right way :) ) 2010/6/16 Tapas Mishra mightydre...@gmail.com On Wed, Jun 16, 2010 at 7:08 PM, Mark Watts

Re: [us...@httpd] Apache getting stuck with all workers in a BUSY_READ state

2010-06-16 Thread The Gaijin
On 06/16/2010 05:33 AM, David Fallon wrote: Thanks for the suggestion, but unfortunately I've tried that - truss in this case is attaching post whatever it's blocking on (so I just see it sleeping), and I haven't yet waited out the problem to see what happens when/if whatever's blocking times

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-16 Thread Rich Bowen
On Jun 15, 2010, at 8:42 AM, Tapas Mishra wrote: http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html is a link to a tutorial which mentions following use of ReWriteRule is wrong. Anything found on askapache.com should be taken with a great deal of