www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Miller <...@netcom.com>
Subject mod_cgi/935: Relative URL's that include cgi-bin don't seem to work
Date Tue, 29 Jul 1997 21:10:02 GMT

>Number:         935
>Category:       mod_cgi
>Synopsis:       Relative URL's that include cgi-bin don't seem to work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jul 29 14:10:01 1997
>Originator:     mke@netcom.com
>Organization:
apache
>Release:        1.2.1
>Environment:
Server is running on a SunOS 4.1.4 system.
>Description:
When using non absolute URL's the apache server doesn't properly deal
with cgi-bin.  IE a URL that only includes /cgi-bin/foo.cgi ends up 
being interpreted as SERVER_ROOT/htdocs/cgi-bin/foo.cgi, not 
SERVER_ROOT/cgi-bin/foo.cgi

The NCSA httpd 1.5.1 deals with this correctly.
>How-To-Repeat:
create a document that uses something in cgi-bin, but don't use an absolute
URL.
>Fix:
Have the server check to see if the URL is not asolute.  If it isn't check
for cgi-bin.  If you see cgi-bin, fetch SERVER_ROOT/cgi-bin/whatever.cg
>Audit-Trail:
>Unformatted:



Mime
View raw message