[plug] Virtual Name Hosts

Daniel Pearson gpearson at iinet.net.au
Sun Aug 13 15:03:23 WST 2000


Maybe the directory it's pointing to doesn't have a file in there that's
specified as being an index file?

Daniel

----- Original Message -----
From: skribe <skribe at amber.com.au>
To: <plug at plug.linux.org.au>
Sent: Sunday, August 13, 2000 2:43 PM
Subject: [plug] Virtual Name Hosts


> I want to set up a virtual name host for apache (1.3.12).  I have one IP
> number and two domain names: www.amber.com.au and www.otherdomain.com.
>
> I do the following in the http.conf:
>
> NameVirtualHost my.ip.number
>
> <VirtualHost my.ip.number>
> ServerAdmin root at localhost
> DocumentRoot /home/httpd/other-domain
> ServerName www.otherdomain.com
> ErrorLog /var/log/otherdomain-error_log
> CustomLog /var/log/otherdomain-access_log common
> </VirtualHost>
>
> According to some docs, that's all I have to do.  Unfortunately this
> results in a you don't have access to / error.  I note that without the
> Virtual host my apache set-up works fine.
>
> What am I doing wrong here?
>
> skribe
> Purity:                           62.0%
> Corruption:                    38.0%
> Insanity:                        36.3636363636364%
> Weirdness factor:           31%
> Experience Level:           JonKatz Wannabe
> Medieval Career:            Black Knight
>
>
>




More information about the plug mailing list