[Xitami] RE: Alias not working?
James Emmrich
xitami@lists.xitami.org
Tue, 29 Oct 2002 16:30:26 -0500
Hi again,
It's wierd. I the admin panel under Configuration at the bottom. If I type
in the Test URI Mapping, below is the results:
URL: http://127.0.0.1/mxc
Result: C:/Websites/http://127.0.0.1/mxc
URL: /mxc/
Result: C:/Websites/TransCan/local_website/www_mxc
Comment: It looks correct doesn't it
URL: mxc/
Result: C:/Websites/TransCan/local_website/www_mxc
The same thing happens if I change the lines in the default file to:
[Alias]
gsinc=C:\Websites\New GrainStoves
mxc=C:\Websites\TransCan\local_website\www_mxc
>Written by: Richard Cunningham
>Create a host name in your "hosts" file that translates to 127.0.0.1 and
use
that instead. It should work.
Do you mean an entry like this:
127.0.0.1 www.MyName.com
or
127.0.0.1 localhostagain
I'm still trying to figure this out,
James Emmrich
------------------------------------------
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