[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: ScriptAlias gives CGI a bogus SCRIPT_NAME env var

State-Changed-From-To: open-feedback
State-Changed-By: marc
State-Changed-When: Tue Feb  9 09:47:08 PST 1999
State-Changed-Why:
Erm... I'm not sure I understand what you are trying to say.
You say:

>given: ScriptAlias /env/ /var/www/cgi-bin/envshow/catalog/
>the CGI script gets SCRIPT_NAME=/env
>where under NCSA (which we are converting from)
>the CGI script gets SCRIPT_NAME=/cgi-bin/envshow
>(which I would argue is correct)

Why should /cgi-bin/envshow be in there at all?  There is no
URL with that name based on your ScriptAlias directive.
If you have some other directive that makes such a URL valid,
fine, but there is no reason Apache should randomly pick
some other path to use...

Reply via email to