[Xitami] Vhosts?
Adrian C. Moore
xitami@lists.xitami.org
Tue, 19 Feb 2002 15:29:46 -0800
Ok thanks by the way. I believe I want req's to certian names to get
different folders. can you give me an example of what scheme one would use
for doing this. the faq ( i think) covered this but I am just too thick
headed at the moments to get what it was saying. So, if I have two names
set up at say dyndns. one named frusterated.dyndns.com, and
need-school.dyndns.com can I set up xitami to use a different vhost for each
site? you may have already answered this but I am not sure. Consequently,
thanks a million, and sorry for the continued ignorance.
----- Original Message -----
From: "Paul Reid" <preid@rci.rutgers.edu>
To: "Adrian C. Moore" <xitami@lists.xitami.org>
Sent: Tuesday, February 19, 2002 7:40 AM
Subject: Re: [Xitami] Vhosts?
> > catch all requests from a given adress (http://site_x.com) and
> > direct it to a specific folder on the web server.
>
> _FROM_ a specific address, or TO ?
>
> By default, a web server will serve any request that comes to it. If
> you have many DNS names all pointed to the same physical
> machine/server (same IP or a milti-IP machine), and leave Vhost
> alone, all requests to any name of the machine will get the
> specified folder.
>
> If you want requests to certain names to get different folders, then
> you use Vhosts.
>
> If you want a request FROM "joe.q.public.com to see
> "/wwwfiles/public", but a request from "adrian.insider.com" to see
> "/wwwfiles/insiders".... Xitami won't do that, make decisions based
> on the viewer's hostname. You could do something with PHP, or a
> fancy firewall.
>
> -PRR
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>