Apache 2.0.42 doesn't send CGI stderr output to VirtualHost's ErrorLog

Apache 2.0.42 doesn't send CGI stderr output to VirtualHost's ErrorLog

Post by Richard Llo » Sat, 28 Sep 2002 19:04:32



Subject says it all really - I just built Apache 2.0.42 on Red Hat Linux 7.2
and had both a global ErrorLog directive and one inside a <VirtualHost>
that pointed to a different error_log file than the global one.

When running a CGI script from the VirtualHost'ed domain, any stderr output
*should* go to the ErrorLog specified inside the <VirtualHost>. It doesn't -
it incorrectly goes to the global ErrorLog directive's error_log file.
Apache 1.3.X behaves correctly and does send its stderr output to the
<VirtualHost>'ed error_log file. This appears to be a 2.0.42 bug, because
the Apache 2.0 docs confirm that it should be the 1.3.X behaviour I should
be seeing.


Connect Internet Solutions,    WWW: http://www.connectinternetsolutions.com/
3, Brownlow Street,
Liverpool,
Merseyside, UK. L69 3GL

 
 
 

1. can apache send cgi output as it's generated?

i'm running apache 1.2.4 on a sparc 5, sunos4
i have a cgi that is forking to another program and sending the output
back to the caller.  the output for this is hundreds and often thousands

of lines.  when i used to run this on a netscape server,  i would
get the output line by line.  with apache, i only get it in very long
time intevals.  is there a way to configure apache so it will
return text/plain cgi output as it is generated?

thanks in advance,

--
Howard Goldstein
Technical Director, New Media Group
Thirteen/WNET
356 West 58th Street
New York, NY 10019
(212) 560-6924

http://www.wnet.org

2. C++ rand() function

3. How to 'flush' output of 'C' cgi-program

4. Questions about backing up files onto tape

5. Server doesn't flush CGI output?!

6. Linux RH5.2

7. SIGSEGV in apache 1.3.20 when using ErrorLog directive in virtualhosts

8. lslv output. How to recover???

9. Apache doesn't seem to run my cgi scripts

10. apache doesn't like blocking cgi clients?

11. Apache doesn't send resource name (AuthName)

12. apache/mod_perl/cgi:Why doesn't the script terminate when the browser closes connection?

13. Apache 065 doesn't gice CGI scripts REMOTE_USER