httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt <sar...@swbell.net>
Subject Re: [users@httpd] Virtual Hosts
Date Mon, 11 Nov 2002 15:16:48 GMT
I was under the impression that in the HTTP/1.1 and some 1.0 standard, the
client was to send the HOST: directive, which apache recieves and depending
on what it was, it sends it to the correct virtual host.

Basically dyndns is a free dns'ing solution.  You put in your ip, and any of
your registered domains point forth to your ip.

Hopefuly this helps some?
----- Original Message -----
From: "Ian Stuart" <Ian.Stuart@ed.ac.uk>
To: "httpd users list" <users@httpd.apache.org>
Sent: Monday, November 11, 2002 4:01 AM
Subject: Re: [users@httpd] Virtual Hosts


> First off - I know nothing about Apache under windows, or "dyndns".
>
> My question, Matt...
> How does Apache know which of these two virtual hosts to use?
> > The config for virtualhosts looks like this
> >
> > NameVirtualHost *
> > <VirtualHost *>
> >         ServerAdmin chrys_enlow@yahoo.com
> >         DocumentRoot "D:/program files/apache
> > group/apache2/htdocs/chrys"
> >         ServerName augustreign.kicks-ass.net
> > </VirtualHost>
> > <VirtualHost *>
> >         ServerAdmin lordsaryon@saryon.homeip.net
> >         DocumentRoot "d:/program files/apache group/apache2/htdocs"
> >         ServerName saryon.homeip.net
> > </VirtualHost>
>
> This is how I have set up my servers (all names are aliased to
> lucas.ucs.....):
>
> NameVirtualHost lucas.ucs.ed.ac.uk
> <VirtualHost 129.215.70.88> # using IP, as suggested by
> http://lucas.ucs.ed.ac.uk/manual/dns-caveats.html
>     ::::
>     ServerName lucas.ucs.ed.ac.uk
>     ::::
> </VirtualHost>
>
> <VirtualHost 129.215.70.88>
>     ::::
>     ServerName vlucas1.ucs.ed.ac.uk
>     ProxyPass / http://dlucas.ucs.ed.ac.uk:1964/
>     #
>     # dlucas is a seperate httpd
>     #
>     ProxyPassReverse / http://dlucas.ucs.ed.ac.uk:1964/
>     ::::
> </VirtualHost>
>
> <VirtualHost 129.215.70.88>
>     ::::
>     ServerName vlucas2.ucs.ed.ac.uk
>     ::::
> </VirtualHost>
>
> <VirtualHost 129.215.70.88>
>     ::::
>     ServerName elucas.ucs.ed.ac.uk
>     ::::
> </VirtualHost>
>
> --
> --==++
> Ian Stuart: Edinburgh University Data Library.
>
> Information is not knowledge
> Knowledge is not wisdom
> Wisdom is not truth
> Truth is not beauty
> Beauty is not love
> Love is not music
>               -- Mary.
>
>  Personal web site: http://lucas.ucs.ed.ac.uk/
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message