Name Based Virtual Host Problem
Hi all,
I'm trying to setup name based virtual hosts on my box. But I keep getting
server document root displayed when I put either host into a browser.
Here's my config:
NameVirtualHost *
<VirtualHost *>
ServerName wordsmith.brokensword.org
DocumentRoot /var/www
</VirtualHost>
<VirtualHost *>
ServerName www.clevelandamaya.com
DocumentRoot /var/www/clevelandamaya
</VirtualHost>
And the errors:
# apache -S
[Sat Apr 13 10:27:47 2002] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence
[Sat Apr 13 10:27:47 2002] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
_default_ servers:
port 80 server wordsmith.brokensword.org (/etc/apache/httpd.conf:65)
port 80 server www.clevelandamaya.com (/etc/apache/httpd.conf:70)
TIA,
-Jamin
--
To UNSUBSCRIBE, email to debian-apache-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: