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