[Xitami] Alias not working?
James Emmrich
xitami@lists.xitami.org
Tue, 29 Oct 2002 17:20:54 -0500
Hi Alex,
You are absolutely correct! It did start working after the rename...
James
----- Original Message -----
From: "Alex Frase" <atfrase@hotmail.com>
To: <xitami@lists.xitami.org>
Sent: Tuesday, October 29, 2002 4:26 PM
Subject: Re: [Xitami] Alias not working?
For the aliased sites in question, try renaming the index.php file and
adding an index.html with some filler comment in it - I bet the alias will
start working, and you'll get your filler html file. If so, I think you're
running into the same problem I did - I actually posted this to the list
about a week ago, but nobody ever replied.
There appears to be a bug in Xitami that causes aliases and filters to
conflict - I also use PHP and tried to set up some aliases, and found that
when I accessed a php file via the normal document root it would work, and
when I accessed an html file through an alias it would work, but when I
tried to access a php file through an alias, it would return nothing.
I downloaded the source package but was unable to fully isolate the bug -
all I know is that filters create temporary pipe????.flt files in your
system temp folder which contain the parsed output to send to the client,
and in the alias case, this file remains empty after the filter program was
called.
Interestingly enough, there is actually a comment in the source code in the
module that sets up filter-handling that says it doesn't take aliases into
account - it would seem the designers already know this is a problem, and
just haven't gotten around to fixing it. So, my advice is to email Xitami's
bug report address and ask them to.
Alex
----- Original Message -----
From: "James Emmrich" <jemmrich@lwp.ca>
To: <xitami@lists.xitami.org>
Sent: Tuesday, October 29, 2002 1:45 PM
Subject: [Xitami] Alias not working?
Hi folks,
I'm doing a lot of web development and would like to access any of my
sites
without having to change the default path setting everytime. I'm trying to
use the ALIAS settings to allow me this feature.
Here is what I have in defaults.cfg:
[Alias]
/gsinc/=C:\Websites\New GrainStoves
/mxc/=C:\Websites\TransCan\local_website\www_mxc
[Filter]
.php=C:\PHP\php.exe
[Security]
Filename=defaults.aut
[Server]
Debug=1
Default1=index.php
Default2=index.html
Webpages=C:\Websites\
How come I can't access those two sites by: Http://127.0.0.1/gsinc or
http://127.0.0.1/mxc ?
I'd appreiate any help,
Thanks,
James
_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami