Page 1 of 1

Apache Virtual Host problem

Posted: 2003-10-09 14:52
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>

Re: Apache Virtual Host problem

Posted: 2003-10-09 15:00
by jamesb
Schreib mal ganz oben drüber ein "NameVirtualHost deineIP"

JamesB

Re: Apache Virtual Host problem

Posted: 2003-10-09 15:02
by stefanpropehan
ein

Code: Select all

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

upps zu langsam :(

Re: Apache Virtual Host problem

Posted: 2003-10-09 15:06
by randar
Danke hat astrein funktioniert :)