[Xitami] Virtual Host...
Bill Munden
xitami@lists.xitami.org
Tue, 17 Jun 2003 16:51:13 -0700
Thanks Ross,
What you said makes absolute sense. I was looking through my defaults.cfg
file and I found a line that said...
*=virtualhost.cfg
However, that asterisk wasn't letting me access the virtualhost web until I
physically changed it to 127.0.0.1. I don't know why the * wasn't working
except that that was how the xitami.cfg file was set up with ip addresses.
That file had a line in it that said...
*=ipaddress
Anyway, I got it working the way that I wanted to. I can even access my
server using my Internet ip address, too. Now I can get back to work. :)
Bill
----- Original Message -----
From: "Ross Dakin" <ross@dakindesign.com>
To: <xitami@lists.xitami.org>
Sent: Tuesday, June 17, 2003 3:56 PM
Subject: RE: [Xitami] Virtual Host...
> Bill,
>
> The best (fastest) way to test out your websites, cgi, etc. is locally
> (127.0.0.1). However, your virtual host must be setup for that address
> (127.0.0.1). If you have no virtual host pointing explicitly to
127.0.0.1,
> Xitami will default to either the default or baseline (if there is one)
> virtual hosts when you try to browse 127.0.0.1 (http://localhost resolves
to
> 127.0.0.1 by the way, they are interchangeable).
>
> Now suppose you get that working but you want to test it from the
"outside".
> You would need to setup another virtual host that corresponds with your
> cable IP address (or a domain name pointing to that address, if you have
> one). Or again, Xitami will use it's default/baseline settings because it
> won't find a virtual host corresponding to the IP you are trying to
browse.
>
> I hope this makes some sense!
> -Ross