Tugger the SLUGger!SLUG Mailing List Archives

RE: [SLUG] Apache virtual server configuration


Hi Edwin,

> We're just converting over from our web server being a single 
> site server (root in /var/www/html/) to also hosting an 
> Intranet/Extranet site. So we want to move the site over to 
> /var/www/html/website, but although we've added a new virtual 
> server in httpd.conf, it still goes back to the 
> /var/www/html/ location. Can anyone offer some ideas?

Not sure if the following will work, but it's based on referring to a working vhost config (apache 1.3)...

<VirtualHost 202.173.184.198>
    ServerName www.ironstone.com.au
    DocumentRoot "/var/www/html/website/"
    HostNameLookups off
</VirtualHost>

HTH,
- Rog