Re[2]: [Xitami] Xitami Admin access?
nikiboy
xitami@lists.xitami.org
Thu, 6 Feb 2003 12:27:37 +0200
OH> I added in the Filter section (xitami.cfg) the following line:
OH> [Filter]
OH> .php=d:\php3\php.exe
OH> but the .php pages do not work.
Try to put testssi.ssi and testssi.inc in this folder and see what happen.
If it's OK that a problem in the PHP parser differently problem in the
server.
I have found this error in the 2.4d9 version. The server not correctly
transmits pathes for filters and scripts you will use aliases.
============= default.ini ==============
[Alias]
/ftp/pub=d:/my.doc/xitami/ftp_root/pub ;path where I put my test.php
[Filter]
.php=d:\my.tls\php\php.bat ;that only catches an environment
============= php.bat ==============
set > env.txt
============= URL ==============
http://localhost/ftp/pub/test.php
============= PHP environment ==============
DOCUMENT_ROOT=d:/my.doc/xitami/http_root
PATH_TRANSLATED=d:/my.doc/xitami/http_root/ftp/pub/php.php ;ERROR!!!!!
SCRIPT_NAME=/ftp/pub/php.php
SCRIPT_PATH=d:/my.doc/xitami/ftp_root/pub
SERVER_VERSION=2.4d9
SERVER_SOFTWARE=Xitami