[us...@httpd] what is this mod-substitute debugging output trying to tell me?

2010-10-29 Thread Chris Markle
Using mod_substitute via mod_filter and I turned on FilterLogging lvele 1. Here's what I see in the log. What's curious to me is that I haven't even got a specific substitute pattern enabled. Can anyone give me some clues as to what these log message are indicating? [Fri Oct 29 16:59:09 2010] [deb

Re: [us...@httpd] cannot get mod_substitute to substitute in response from remote server in reverse proxy setup

2010-10-29 Thread Chris Markle
Nick, > Use mod_filter instead. Thanks for that good suggestion. I worked something up to test this with mod_filter and mod_substitute and it seems to be working. Just including my config here for the next poor sap that has this question. Thanks again... Chris * * * /etc/httpd/conf.d/replace.c

RE: [us...@httpd] CGI-BIN

2010-10-29 Thread motty.cruz
Thanks Rich, it worked perfect! -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com] Sent: Friday, October 29, 2010 11:34 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] CGI-BIN On Oct 29, 2010, at 2:20 PM, motty.cruz wrote: > Hello Rich, > Here what I get on the br

Re: [us...@httpd] CGI-BIN

2010-10-29 Thread Rich Bowen
On Oct 29, 2010, at 2:20 PM, motty.cruz wrote: Hello Rich, Here what I get on the browser You don't have permission to access /second/ on this server Here is the access_log ip - - [29/Oct/2010:11:14:31 -0700] "GET /second/ HTTP/1.1" 403 209 here is the error_log [Fri Oct 29 11:13:08 2010]

RE: [us...@httpd] CGI-BIN

2010-10-29 Thread motty.cruz
Hello Rich, Here what I get on the browser You don't have permission to access /second/ on this server Here is the access_log ip - - [29/Oct/2010:11:14:31 -0700] "GET /second/ HTTP/1.1" 403 209 ip - - [29/Oct/2010:11:14:32 -0700] "GET /second/ HTTP/1.1" 403 209 ip- - [29/Oct/2010:11:14:33 -0700]

Re: [us...@httpd] CGI-BIN

2010-10-29 Thread Rich Bowen
On Oct 29, 2010, at 1:53 PM, motty.cruz wrote: Hello Devraj, I already have the following line in my httpd.conf ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" Can I add a second directory? ScriptAlias /second/ "/usr/local/www/second/" <-- I added second line but apache won't recogniz

[us...@httpd] Re: Apache child process segmentation fault

2010-10-29 Thread Roger
Thank you all for taking the time to answer. I will enable core dumping and see what I can get. Hopefully it is not something serious. -r - The official User-To-User support forum of the Apache HTTP Server Project. See http://htt

RE: [us...@httpd] CGI-BIN

2010-10-29 Thread motty.cruz
Hello Devraj, I already have the following line in my httpd.conf ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" Can I add a second directory? ScriptAlias /second/ "/usr/local/www/second/" <-- I added second line but apache won't recognize the cgi scripts in side this dir. Thanks, -Mot

Re: [us...@httpd] Apache child process segmentation fault

2010-10-29 Thread Nick Kew
On 29 Oct 2010, at 15:46, Roger wrote: > Is there anything that I could try to improve that amount of > information that apache gives me when a child crashes? Besides > increasing the log level (I guess to debug) and enabling core dumping? Why besides core dumping? That is the usual way to get

Re: [us...@httpd] Apache child process segmentation fault

2010-10-29 Thread Justin Pasher
- Original Message - From: Roger Date: Fri, 29 Oct 2010 10:46:09 -0400 Subject: [us...@httpd] Apache child process segmentation fault To: users@httpd.apache.org Hello all, Lately I have been getting a lot of segmentation fault from apache's child processes. Unfortunately I have been l

Re: [us...@httpd] Issues with mod_fcgid and multi-threaded FastCGI application

2010-10-29 Thread Jeff Trawick
On Mon, Aug 30, 2010 at 5:53 PM, Brett Gmoser wrote: > Hello all, > > I'm looking to migrate from my current mod_fastcgi configuration to > mod_fcgid.  Since my FastCGI server (the application I write) is a big large > and unwieldy, currently I use mod_fastcgi to spawn five instances of my > serve

Re: [us...@httpd] switching from mod_fastcgi to mod_fcgid

2010-10-29 Thread Jeff Trawick
On Thu, Oct 7, 2010 at 8:07 AM, Julien Cigar wrote: > I'm happy with mod_fastcgi in fact, but ~once a month I have to restart > Apache because it doesn't respond to requests anymore (I get a "The > connection was reset" in my browser) ... and I suspect that mod_fastcgi > *could* be the cause of th

Re: [us...@httpd] mod_fcgid: fcgid processes serving static content as well

2010-10-29 Thread Jeff Trawick
2010/10/28 Honza Lefty Škoda : > Hi! > > I use mod_fcgid & suexec for safe execution of php scripts. I've > recently tested the performance of fcgid > and found out that when i request static page (.html or .css) > fcgi process is spawned (if doesn't exist yet) unexpected >

[us...@httpd] Apache child process segmentation fault

2010-10-29 Thread Roger
Hello all, Lately I have been getting a lot of segmentation fault from apache's child processes. Unfortunately I have been looking at the logs files and I cannot see any clues as to what request caused the child process to crash. I have also been getting a lot of " Allowed memory size of 134217728

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-29 Thread Tom Evans
On Thu, Oct 28, 2010 at 4:41 PM, William A. Rowe Jr. wrote: > On 10/28/2010 10:17 AM, Tom Evans wrote: >> That has well known solutions doesn't it? Pad your page to more than >> 512 bytes, and Robert is the brother of your mother. > > I don't know that 512 will do the trick in all cases. > > At on

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-29 Thread Green Wang
maybe you can use a script like php or what and set the ErrorDocument to this script then use header() function to set the response status code On 10/28/2010 10:24 PM, Tom Evans wrote: You want it to fail and return 200? Seems counter-intuitive... -

Re: [us...@httpd] mod_proxy_ajp failed to connect infrequently

2010-10-29 Thread Yu Kikuchi
Hi All. The error_log (debug) is attached. I understood "(120006) error" means Apache wasn't able to receive the headers of the response from the backend server. But I don't know why the headers didn't return and I want any opinions about the reason. Please teach me how to know the problem. B