You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Paul Boehm <pa...@boehm.org> on 1998/03/15 18:50:30 UTC
config/1951: A Scriptalias on / to [cgidir]/blah.pl directs to [cgidir]/blah.plABC when trying to access http://host/ABC/ which can't be found...
>Number: 1951
>Category: config
>Synopsis: A Scriptalias on / to [cgidir]/blah.pl directs to [cgidir]/blah.plABC when trying to access http://host/ABC/ which can't be found...
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sun Mar 15 10:00:00 PST 1998
>Last-Modified:
>Originator: paul@boehm.org
>Organization:
apache
>Release: 1.2.5
>Environment:
Linux enemy 2.0.33 #3 Mon Jan 26 16:03:14 CET 1998 i586 unknown
redhat5 - all bugfixes
>Description:
A Scriptalias on / to [cgidir]/blah.pl
directs to [cgidir]/blah.plABC when trying to access
http://host/ABC/ which can't be found as it doesn't exist...
ScriptAlias / /home/httpd/cgi-bin/lincows/makepage.pl
http://localhost/ works and redirects to /home/httpd/cgi-bin/lincows/makepage.pl
http://localhost/ABC/ redirects to /home/httpd/cgi-bin/lincows/makepage.plABC
>How-To-Repeat:
ScriptAlias / /home/httpd/cgi-bin/lincows/makepage.pl
http://localhost/ works and redirects to /home/httpd/cgi-bin/lincows/makepage.pl
http://localhost/ABC/ redirects to /home/httpd/cgi-bin/lincows/makepage.plABC
>Fix:
not really... i don't know anything about Apache's source... but it shouldn't
be too hard to remove the subdirectory's name after the cgi path..
>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. ]