[Xitami] Alias PHP problem
Brandl, Thomas
xitami@lists.xitami.org
Wed, 24 Mar 2004 13:09:29 +0100
This is a multi-part message in MIME format.
------_=_NextPart_001_01C41198.DBA58A10
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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.=20
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 =3D 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=09
------_=_NextPart_001_01C41198.DBA58A10
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6249.1">
<TITLE>Alias PHP problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">When trying to access a PHP-file via an =
alias, xitami seems to ignore configured aliases:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">"usbhtdocs" is configured as =
CGI-Alias in defaults.cfg. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">When I try to access e.g. </FONT><A =
HREF=3D"http://localhost/usbhtdocs/info.php"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 =
FACE=3D"Arial">http://localhost/usbhtdocs/info.php</FONT></U></A><FONT =
SIZE=3D2 FACE=3D"Arial">, the debug log reads this:</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">2004/03/24 12:40:23: Resolving URL =
request: /usbhtdocs/info.php</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">2004/03/24 12:40:23: - URL =
handled by filter 'C:/Server/PHP/php.exe'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">2004/03/24 12:40:23: - requested file =
'C:/Server/htdocs/usbhtdocs/info.php' not found</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">This is what my defaults.cfg =
says:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">[CGI-Alias]</FONT>
<BR> <FONT SIZE=3D2 =
FACE=3D"Arial">/usbhtdocs =3D D:\htdocs</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Xitami should be looking for the file =
in D:\htdocs\info.php</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">The alias btw works fine when reading a =
non-php file.</FONT>
</P>
<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Verdana">Thanks for your =
hints!</FONT>
<BR><FONT COLOR=3D"#000000" SIZE=3D2 =
FACE=3D"Verdana">Thomas </FONT>=20
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C41198.DBA58A10--