[plug] Virtual Name Hosts

skribe skribe at amber.com.au
Sun Aug 13 14:43:33 WST 2000


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