[thelist] apache virtual hosts

Bob Fowler bob at rjf.ca
Fri Jan 4 12:24:12 CST 2002


Just a simple little thing, but do you have DNS or a hosts file resolving
music.airside.co.uk to 127.0.0.1?

Bob.
----- Original Message -----
From: "// kerin | airside.co.uk" <kerin at airside.co.uk>
To: "evolt" <thelist at lists.evolt.org>
Sent: Friday, January 04, 2002 1:11 PM
Subject: [thelist] apache virtual hosts


> hi all,
>
> Does anyone know of any "Apache Virtual Hosts for dummies"-style
> resources on the web? I've been battling with Apache on my dev linux box
> for a couple of hours now, and nothing i do seems to make any difference.
> I've read through all the Apache documentation, and I'm still getting
nowhere.
>
> This is a snippet of my httpd.conf file:
>
>
>
> NameVirtualHost 127.0.0.1
>
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a VirtualHost container.
> # The first VirtualHost section is used for requests without a known
> # server name.
> #
> #<VirtualHost *>
> #    ServerAdmin webmaster at dummy-host.example.com
> #    DocumentRoot /www/docs/dummy-host.example.com
> #    ServerName dummy-host.example.com
> #    ErrorLog logs/dummy-host.example.com-error_log
> #    CustomLog logs/dummy-host.example.com-access_log common
> #</VirtualHost>
>
> <VirtualHost 127.0.0.1>
>         ServerName music.airside.co.uk
>         ServerAlias music
>         DocumentRoot /www/servers/music
> </VirtualHost>
>
>
>
> i want to be ablt to enter http://music.airside.co.uk into my browser
> (and do the same on the other machines on the network), and have apache
> send the request to /www/servers/music. As far as i can see, Ive got the
> httpd.conf file set up directly, but apache sends music.airside requests
> to /www/servers, not /www/servers/music
>
> can anyone point me in the right direction?
>
>
> Thanks in advance,
>
> Kerin Cosford
> Codemonkey
> Airside
> 0207 354 9912
> -------------------------------
> http://www.airside.co.uk
> -------------------------------
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>






More information about the thelist mailing list