[H-GEN] Apache and Virtual Hosts
Jason McDonald
jasonm at csee.uq.edu.au
Thu Dec 9 20:48:35 EST 1999
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
Nikolai,
I just tested your site and got two different pages for the two addresses.
(The Win2000 keyboard at stevens and SlashDot at fire). So as far as I
can see, things are working as they should.
The docs that Mark mentioned say that name-based virtual hosts require
http/1.1. It might be worth looking in the server access logs to see if
your failed tests were made using http/1.0.
P.S.: Thanks for the info Mark. I guess it's time I got some more up
to date books :-)
> Folks,
>
> Jason McDonald wrote:
>
> > Well I could be wrong (I'm reasonably new at Apache configuration), but if
> > both your servers have the same IP (which according to nslookup they do),
> > how will your server tell which one is being accessed? Surely you need
> > two different IP addresses so that Apache can work out which set of
> > pages to serve.
>
> Apache does "named based virtual hosting", as the following
> describes.
>
> http://www.apache.org/docs/vhosts/
J.
--
Random Signature #193:
To be sure of hitting the target, shoot first, and call whatever you hit
the target.
- ASHLEIGH BRILLIANT
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list