www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject Re: 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...
Date Sun, 15 Mar 1998 18:08:28 GMT
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...

State-Changed-From-To: open-closed
State-Changed-By: marc
State-Changed-When: Sun Mar 15 10:08:27 PST 1998
State-Changed-Why:
That is the way it is supposed to work and is the
way it is documented.

ScriptAlias is not designed to redirect an entire directory
to a single URL.

In the 1.3 code, ScriptAliasMatch can be used to do what
you want.  If you add mod_rewrite to your server it can do
it, or changing your ScriptAlias to:

  ScriptAlias / /home/httpd/cgi-bin/lincows/makepage.pl/

should make it work for what you need.  The info on the
real path requested below / will be in PATH_INFO.


Mime
View raw message