Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 14090] New: - ErrorLog in Virtual Hosts for CGI scripts

From: <bugzilla(at)apache.org>
Date: Wed Oct 30 2002 - 09:04:45 EST


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 Received on Wed Oct 30 14:03:56 2002
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:44:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library