[Xitami] Alias PHP problem
Francis Turner
xitami@lists.xitami.org
Wed, 24 Mar 2004 13:59:52 +0100
This is a known problem - Xitami doesn't pass the DOCUMENT_ROOT (I think
its that var) correctly to PHP. There seems to be no way around this as
what ends up happening is that PHP simply can't find the script.
Francis
Brandl, Thomas wrote:
>Hi,
>
>When trying to access a PHP-file via an alias, xitami seems to ignore
>configured aliases:
>"usbhtdocs" is configured as CGI-Alias in defaults.cfg.
>When I try to access e.g. http://localhost/usbhtdocs/info.php, the debug
>log reads this:
>
>
>2004/03/24 12:40:23: Resolving URL request: /usbhtdocs/info.php
>2004/03/24 12:40:23: - URL handled by filter 'C:/Server/PHP/php.exe'
>2004/03/24 12:40:23: - requested file
>'C:/Server/htdocs/usbhtdocs/info.php' not found
>
>This is what my defaults.cfg says:
>
>[CGI-Alias]
> /usbhtdocs = D:\htdocs
>
>Xitami should be looking for the file in D:\htdocs\info.php
>
>The alias btw works fine when reading a non-php file.
>
>Thanks for your hints!
>Thomas
>
>
>
>
--
Your theory of a donut-shaped universe is intriguing, Homer.
I may have to steal it. -- Prof S. Hawking on the "Simpsons"