You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Scott J.Ellentuch" <tt...@ttsg.com> on 1997/11/24 23:56:11 UTC

general/1476: Logs in 2 places, weird cgi responses

>Number:         1476
>Category:       general
>Synopsis:       Logs in 2 places, weird cgi responses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Nov 24 16:10:01 PST 1997
>Last-Modified:
>Originator:     ttsg@ttsg.com
>Organization:
apache
>Release:        1.2.4
>Environment:
Linux www 2.0.30 #2 Tue Oct 21 20:27:33 PDT 1997 i586 unknown
www:/usr/src/apache_1.2.4/src# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.2/specs
gcc version 2.7.2.2
>Description:
A multitude of problems with a base server and 4 virtualhosts.
The base server is on an IP that is not associated with anything
There is a virtual host, with its own DocRoot, TransferLog, ErrorLog,
etc.  When I telnet www.crazies.com 80, and do GET /cgi-bin/monitor.pl
It runs and tells me the DocRoot of the main server. When I use
GET /cgi-bin/monitor.pl HTTP/1.0, it tells me the DocRoot of the main
server. When I use a browser, it tells me the DocRoot of the virtualhost.
It also is logging sometimes the hits of the virtualhost on the BASE access_log. Othertimes, the virtualhost is giving 404 for files it does have.
>How-To-Repeat:
See above
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]