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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to