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 skepticism

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 out

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 > On Wed, Jun 16, 2010 at 7:08 PM, Mark Watts > wrote: > > > > High CPU usage is

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 wrote: > On 06/16/2010 06:49 AM, Scott Gifford wrote: > > On Tue, Jun 15, 2010 at 5:33 PM, Jakov Sosic > > wrote: > > > > I'm interested in measuring I/O that all apache processes are > > generating. > > > > > > I

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 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 b

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 upo

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 wrote: > > High CPU usage is generally caused by things like PHP which Apache has > no control over. > >        strace -p > > If you run this against the PID stuck at 100%, it should give you some > insight into what apache is doing. If you are lucky, y

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 Sosicmailto: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 prob

[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 http://httpd.apache.org/

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 > 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, with good

[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] 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 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 bl

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

2010-06-16 Thread Mark Watts
On Wed, 2010-06-16 at 10:36 +0530, Tapas Mishra wrote: > I am having a front end server as Apache for hosting many websites. > Today morning any of my domains were not accessible until I did an SSH > to Apache server and saw > 100% CPU utilization by Apache > http://farm5.static.flickr.com/4018/470

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 9:

[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/(.*) http://192.168.0.23:8080/PACAdmin