httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Treloar" <m...@whereedmonton.com>
Subject [users@httpd] VirtualHost on Apache 2
Date Thu, 27 Feb 2003 22:33:11 GMT
I have just upgraded to Apache 2, and now I can't get VirtualHost to work. I
have tried using * in place of IP address on NameVirtualHost, and tried
putting the IP address in, but nothing seems to work.

I have now moved my VirtualHost entries to /etc/httpd/conf.d/vhost.conf
which now reads as follows:

NameVirtualHost 24.68.136.83

<VirtualHost 24.68.136.83>
        DocumentRoot /var/www/html/inof8
        ServerName inof8.com
        ServerAlias *.inof8.com
</VirtualHost>

<VirtualHost 24.68.136.83>
        DocumentRoot /var/www/html/gabriola
        ServerName gabriolaisle.com
        ServerAlias *.gabriolaisle.com
</VirtualHost>

I would prefer "NameVirtualHost *" but this doesn't work either.

Can anybody help?

Mike Treloar
Tanner Young Marketing
mike@whereedmonton.com

Mike Treloar
Tanner Young Marketing
mike@whereedmonton.com

Mime
View raw message