View Single Post

  #3 (permalink)  
Old 11-08-2006, 07:56 PM
rcordeiro rcordeiro is offline
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Rep Power: 0
rcordeiro
Default

Here's the output of the command.

root@artemis:/etc/apache2# apache2 -t -D DUMP_VHOSTS
[Wed Nov 08 14:20:56 2006] [warn] VirtualHost xxx.mars.av.it.pt:80 overlaps with VirtualHost yyy.mars.av.it.pt:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Nov 08 14:20:56 2006] [warn] VirtualHost zzz.mars.av.it.pt:80 overlaps with VirtualHost xxx.mars.av.it.pt:80, the first has precedence, perhaps you need a NameVirtualHost directive
VirtualHost configuration:
127.0.0.1:80 mars.av.it.pt (/etc/apache2/sites-enabled/xxx:1)
193.136.92.209:80 mars.av.it.pt (/etc/apache2/sites-enabled/zzz:1)
wildcard NameVirtualHosts and _default_ servers:
*:* is a NameVirtualHost
default server localhost.localdomain (/etc/apache2/sites-enabled/000-default:2)
port * namevhost localhost.localdomain (/etc/apache2/sites-enabled/000-default:2)
Syntax OK


As of the config file, I have a config file for each virtual host. making a symbolic link from that config file in sites-available to sites-enabled. The virtual hosts (actual site file are located on /var/www/xxx, /var/www/yyy, etc..
Reply With Quote