Multiple Vhosts Fail

Giganews Newsgroups
Subject: Multiple Vhosts Fail
Posted by:  Daniel Berger (jacky123…@yahoo.de)
Date: Sat, 12 Sep 2009

Hi there,

I think I am doing something wrong here. When I start apache I get.

[Sat Sep 12 07:51:36 2009] [warn] VirtualHost 127.0.0.1:80 overlaps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sat Sep 12 07:51:36 2009] [warn] VirtualHost 127.0.0.1:80 overlaps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directive

Most of the files in my sites-enabled look like this:

<VirtualHost 127.0.0.1:80>
    DocumentRoot /home/dada/system/projects/php/OpenPNE-3/web
    ServerName dev.openpne
        <Directory /home/dada/system/projects/php/OpenPNE-3/web>
        AllowOverride All
        </Directory>

Alias /sf/  "/home/dada/system/lib/symfony7/data/web/sf/"
  <Directory "/home/dada/system/lib/symfony7/data/web/sf/">
    AllowOverride All
    Allow from All
  </Directory>

    </VirtualHost>

Greetings,

--
Daniel Berger

Send files in free open formats.

Replies