VHosts zerschossen

JimmyPanse

New Member
Hallo,

durch einen Fehlerhaften vHost-Eintrag wurde leider meine ganze Config zerschossen. Leider finde ich den Fehler nicht mehr.

Es funktioniert nur noch die Erste in SysCP angelegte Seite. Alle anderen leiten automatisch auf diese um.

Wenn ich den Apache neustarte bekomme ich diese Meldungen:
Code:
Server:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Tue Nov 17 09:19:42 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:42 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:42 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:42 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
 ... waiting [Tue Nov 17 09:19:43 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:43 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:43 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Nov 17 09:19:43 2009] [warn] VirtualHost 94.123.321.12:80 overlaps with VirtualHost 94.123.321.12:80, the first has precedence, perhaps you need a NameVirtualHost directive
.

Ich vermute, dass hier der Fehler liegen könnte...
NPw46149.gif


Meine 000-default im Apache Verzeichnis:
Code:
<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	
	DocumentRoot /var/www/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Meine 10_syscp_ipandport_...conf
Code:
# 10_syscp_ipandport_94.xxx.xxx.xxx.80.conf
# Created 17.11.2009 09:20
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

Die httpd.conf ist leer.

Wo liegt dieser Fehler? SysCP ist mir leider völlig fremd. Ich weiß dass sich ein VHost für die IP wiederholt, aber nicht ich das ändern muss. SysCP überschreibt mir ja meine Änderungen in den einzelnen Dateien immer wieder.

MfG
 
Last edited by a moderator:
Back
Top