Re: Apache's PATH_TRANSLATED
| From: | Heino H. Gehlsen | Date: | Wed, 17 Jan 2001 21:18:11 +0000 |
| Subject: | Re: Apache's PATH_TRANSLATED | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35152@lists.php.net to get a copy of this message | ||
BTW
I using PHP 4.0.3pl1 on a standard Debian 2.2r2 box with Apache httpd 1.3.9.
----- Original Message -----
From: "Heino H. Gehlsen" <heino@bigfoot.com>
To: <php-general@lists.php.net>
Sent: Wednesday, January 17, 2001 9:28 PM
Subject: Apache's PATH_TRANSLATED
> I'm trying to use the clasic CGI environment varable PATH_TRANSLATED via
> Apache's Action directive (directing all requests through a script).
>
> But PHP messes PATH_TRANSLATED up and all i get is a copy of SCRIPT_FILENAME
> !
>
> I'm using these directives in httpd.conf:
> Options +MultiViews
> Action text/html /script.php
>
> A resuest for "/index" should result in:
> PATH_TRANSLATED = /path/to/index.html
> PATH_TRANSLATED = /path/to/index.en.html (for the English version)
> PATH_TRANSLATED = /path/to/index.X.html (for the X version)
>
> BUT what I get is:
> PATH_TRANSLATED = /path/to/script.php (no matter what i request !)
>
> Can anyone help me getting the real Apache PATH_TRANSLATED (which is actualy
> shown in phpinfo() under "Apache Environment" but not under "PHP
> Variables")
>
>
>
> Yours faithfully
> Heino H. Gehlsen
>
>
>