Re: [EMAIL PROTECTED] Request processing/logging according to HTTP GET/POST parameter

2008-07-07 Thread Samir Ghodasara
Hey Rich, 1) I found mod_log_mysql help from http://bitbrook.de/software/mod_log_mysql/ but what i want to read request parameter and log according to that before serving response file as i don't want to store all the request data in mysql. 2) what do you mean by "you can always create your ow

[EMAIL PROTECTED] Over-ride the not caching behaviour for no explicit expiration

2008-07-07 Thread tanshul22
i have a situation which returns a "not cached. Reason: query string present but no explicit expiration time" this is a php script and i want to cache the result anyhow. my config file reads like: Header set Expires 62 ExpiresActive On ExpiresDefault "acce

Re: [EMAIL PROTECTED] Apache crashes when using WHILE loop to traverse SQL query results

2008-07-07 Thread Rich Schumacher
Note: This is turning more into a PHP issue than Apache... You must have the MySQLi extension already installed, otherwise it would complain about mysqli_connect() being an invalid function. Do you have command line access? If so, try running the script above from the command line to see if that

Re: [EMAIL PROTECTED] Need help with RewriteRule

2008-07-07 Thread Eric Covener
On Mon, Jul 7, 2008 at 5:51 PM, <[EMAIL PROTECTED]> wrote: > > Given the following: RewriteRule ^(.*)$ /ProxyServlet?$1 > http://www.example.com/SomeServlet/?src=x&target= redirects to > http://www.example.com/ProxyServlet?/SomeServlet/ > > As you can see, we don't get the remaining port

Re: [EMAIL PROTECTED] Apache crashes when using WHILE loop to traverse SQL query results

2008-07-07 Thread Bonger O
Hi guys, Thanks for getting back to me on this with your comments, but sadly I've still had no luck. I have managed to narrow the problem down to *$row = mysqli_fetch_assoc($result);* For some reason this is causing the crash. Would there be any reason that this function cant be found perhaps? I

[EMAIL PROTECTED] Need help with RewriteRule

2008-07-07 Thread robert . badaracco
Given the following: RewriteRule ^(.*)$ /ProxyServlet?$1 http://www.example.com/companyinfo redirects to http://www.example.com/ProxyServlet?/companyinfo as expected. But this redirect using the same RewriteRule yields: http://www.example.com/SomeServlet/?src=x&target= redirects to http

[EMAIL PROTECTED] Forwarding request

2008-07-07 Thread Mohit Anchlia
We have WebServer that uses mod_jk and forwards the requests to app server. Is there a way to re-direct some requests based on URL pattern from WebServer to some other URL instead of sending it to app server?

Re: [EMAIL PROTECTED] I get a 500 error and this was caused because the php file "was writable in group"

2008-07-07 Thread Stephen
Eric Covener wrote: On Mon, Jul 7, 2008 at 12:20 PM, Stephen <[EMAIL PROTECTED]> wrote: My host runs Linux. Not sure exactly how the file got a group writable setting, but I am curious as to why this caused Apache to throw up over it. Maybe you're using suexec or someth

Re: [EMAIL PROTECTED] I get a 500 error and this was caused because the php file "was writable in group"

2008-07-07 Thread Eric Covener
On Mon, Jul 7, 2008 at 12:20 PM, Stephen <[EMAIL PROTECTED]> wrote: > My host runs Linux. > > Not sure exactly how the file got a group writable setting, but I am curious > as to why this caused Apache to throw up over it. Maybe you're using suexec or something similar? What's the exact error mes

Re: [EMAIL PROTECTED] Request processing/logging according to HTTP GET/POST parameter

2008-07-07 Thread Rich Schumacher
Hey Samir, Have you looked into mod_log_sql or mod_log_mysql? I don't know the specifics, but they look like they might accomplish what you need. If not, you can always create your own custom logging script and direct Apache to use that. Cheers, Rich On Sun, Jul 6, 2008 at 10:22 PM, Samir Gho

Re: [EMAIL PROTECTED] Apache crashes when using WHILE loop to traverse SQL query results

2008-07-07 Thread Rich Schumacher
Bonger, Are you using Apache with the Worker MPM? If so, that could be your problem. It is fairly well documented and highly discussed that the Worker MPM on *nix is not a good combination, as explained here: http://us2.php.net/manual/en/faq.installation.php#faq.installation.apache2. The problem

[EMAIL PROTECTED] I get a 500 error and this was caused because the php file "was writable in group"

2008-07-07 Thread Stephen
My host runs Linux. Not sure exactly how the file got a group writable setting, but I am curious as to why this caused Apache to throw up over it. Thanks Stephen - The official User-To-User support forum of the Apache HTTP Se

[EMAIL PROTECTED] unable to see the output on the load balancer.

2008-07-07 Thread Ch Praveena
Hi, I am trying to cluster an application and ve choosed httpd 2.0.63 as load balancer. I found the two instances are running well independently. But when I ve tried to load balance them and check the output console, I found nothing. And here is the access.log file: 10.20.220.15 - -

Re: [EMAIL PROTECTED] mpm worker proxy: High CPU load, unresponsive

2008-07-07 Thread Igor Galić
I can often see in the error log that it segfaults, but it does not core-dump. mod_whatkilledus is mostly inconclusive, and mod_backtrace doesn't seem to hook in: Confusing! I wrote this mail over the last two days while collecting data, so maybe the wording is a bit off the track ;) C

Re: [EMAIL PROTECTED] mpm worker proxy: High CPU load, unresponsive

2008-07-07 Thread Nick Kew
On Mon, 7 Jul 2008 10:15:12 + (UTC) Igor Galić <[EMAIL PROTECTED]> wrote: > I can often see in the error log that it segfaults, but it does not > core-dump. mod_whatkilledus is mostly inconclusive, and mod_backtrace > doesn't seem to hook in: Confusing! Couple of thoughts: * Does this pe

[EMAIL PROTECTED] mpm worker proxy: High CPU load, unresponsive

2008-07-07 Thread Igor Galić
I have a httpd with mpm worker configured as reverse proxy (it also enflates, and encrypts where necessary, it does, as of yet, not cache) for some 30 backends (not load balanced, mostly httpd with mpm prefork, one with mpm worker serving Dav svn). From time to time (about once or twice a day)