SteveC wrote:
> The server forwards incoming traffic but it goes to the location to
> "handle all unhandled incoming requests" rather than the "virtual
> directory". I have set up the DNS correctly (I think).
try removing all instances of :80
Listen 80
ServerName servername.domain.ca
NameVirtualHost *
<VirtualHost *>
DocumentRoot /var/www/html/location1
ServerName www.firstdomain.ca
ServerAlias firstdomain.ca
</VirtualHost>
<VirtualHost *>
DocumentRoot /var/www/html/location2
ServerName www.seconddomain.ca
ServerAlias seconddomain.ca
</VirtualHost>
note that I also added the ServerAlias directive with the just the domain
name, ie no www. prefix. If your DNS isn't set to resolve just the domain
name, then this is unecessary.
Dave
_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca