You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/10/30 15:04:45 UTC
DO NOT REPLY [Bug 14090] New: -
ErrorLog in Virtual Hosts for CGI scripts
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14090
ErrorLog in Virtual Hosts for CGI scripts
Summary: ErrorLog in Virtual Hosts for CGI scripts
Product: Apache httpd-2.0
Version: 2.0.43
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: mod_cgi
AssignedTo: bugs@httpd.apache.org
ReportedBy: alexei@samara.net
I'm in the process of upgrading from Apache 1.3.27 to Apache 2.0.43
with 'worker' scheme. I've
noticed that if I specify a virtual host ErrorLog location, STDERR from my
Perl CGI programs is still directed to the default server error log file.
The key parts of my httpd.conf appear as follows:
ServerRoot "/opt/apache2"
ErrorLog logs/error_log
NameVirtualHost *
<VirtualHost *>
DocumentRoot /local/httpd/mmitest/htdocs
ServerName mmitest.mmi.frco.com
ServerAlias mmitest
ErrorLog /local/httpd/mmitest/logs/error_log
TransferLog /local/httpd/mmitest/logs/access_log
ScriptAlias /cgi-bin/ /local/httpd/mmitest/cgi-bin/
</VirtualHost>
If I access a cgi program on this virtual host that writes to STDERR, it
writes to the server default ErrorLog location
(/opt/apache2/logs/error_log), not the ErrorLog location specified in the
virtual host (/local/httpd/mmitest/logs/error_log).
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org