Apache Virtual Host problem

Apache, Lighttpd, nginx, Cherokee
Post Reply
randar
Posts: 73
Joined: 2002-08-31 12:01
 

Apache Virtual Host problem

Post by randar »

Hi ich bekomme folgende Fehlermeldung
[Thu Oct 09 14:48:55 2003] [warn] VirtualHost 81.169.156.119:80 overlaps with VirtualHost 81.169.156.119:80, the first has precedence, perhaps you need a NameVirtualHost directive
Das ist meine vhosts.conf (noch im aufbau ;-) )
<VirtualHost 81.169.156.119:80>
ServerName 81.169.156.119
DocumentRoot /home/serverallg
</VirtualHost>

<Location /cgi-bin>
AllowOverride None
Options +ExecCGI -Includes
SetHandler cgi-script
</Location>

#Randar.de

<VirtualHost 81.169.156.119:80>
ServerName randar.de
ServerAlias http://www.randar.de
DocumentRoot /home/js-mueller
</VirtualHost>
jamesb
Posts: 661
Joined: 2002-05-08 15:35
Location: Karlsruhe
Contact:
 

Re: Apache Virtual Host problem

Post by jamesb »

Schreib mal ganz oben drüber ein "NameVirtualHost deineIP"

JamesB
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: Apache Virtual Host problem

Post by stefanpropehan »

ein

Code: Select all

NameVirtualHost 81.169.156.119
vor die virtualhost einträge und es sollte funtzen...

upps zu langsam :(
randar
Posts: 73
Joined: 2002-08-31 12:01
 

Re: Apache Virtual Host problem

Post by randar »

Danke hat astrein funktioniert :)
Post Reply