[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#237782: Ok...



I have a similar problem with my Suse Linux 9:

In /etc/apache2/listen.conf I have a line: NameVirtualHost
213.239.205.110:80
(thats the only IP the machine has)

In /etc/apache2/vhosts/domain1.conf I have the vhost config for domain 1.
In /etc/apache2/vhosts/domain2.conf I have the vhost config for domain 2.
In /etc/apache2/vhosts/domain3.conf I have the vhost config for domain 3.

These 3 files contain (with domain.xyz in place of every "flugsim.de" each
time):

---START---

<VirtualHost flugsim.de:80>
    ServerAdmin webmaster@flugsim.de
    ServerName flugsim.de

    DocumentRoot /srv/www/vhosts/flugsim.de

    ErrorLog /var/log/apache2/flugsim.de-error_log
    CustomLog /var/log/apache2/flugsim.de-access_log combined
    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature On

    <Directory "/srv/www/vhosts/flugsim.de">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

---END---

When I "/etc/init.d/apache2 restart", I get:
[Sat Oct 30 21:57:37 2004] [warn] VirtualHost flugsim.de:80 overlaps with
VirtualHost upsxml.de:80, the first has precedence, perhaps you need a
NameVirtualHost directive
[Sat Oct 30 21:57:37 2004] [warn] VirtualHost flugsim.de:80 overlaps with
VirtualHost flugsim.de:80, the first has precedence, perhaps you need a
NameVirtualHost directive
[Sat Oct 30 21:57:37 2004] [warn] VirtualHost flugsim.de:80 overlaps with
VirtualHost flugsim.de:80, the first has precedence, perhaps you need a
NameVirtualHost directive

What I dont understand is, why the vhosts interfere with each other.

Any help greatly appreciated!

Ethan

-- 
Arnold Datentechnik
Am Hühnerberg 17
65934 Frankfurt
Tel: +49 (0)69-93623-207
Fax: +49 (0)69-93623-213
VOIP: +49 (0)69-3809-75663 (sipgate.de)
www.arnold-datentechnik.de



Reply to: