trotz googlen und suchen fand ich keine Lösung für mein Problem. Sobald ich den apache2 neustarte, bekomme ich folgende Ausgabe auf der Konsole:
Code: Alles auswählen
[....] Restarting web server: apache2
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Jan 24 19:36:40 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
[...]
[Sat Jan 24 19:36:42 2015] [error] VirtualHost *:80 -- mixing * ports and non-*ports with a NameVirtualHost address is not supported, proceeding with undefined results
. ok
Code: Alles auswählen
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost *
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
NameVirtualHost *:443
Listen 443
</IfModule>
Und keine Website oder Subdomain ist mehr erreichbar.
Ausgabe von apachectl -S bei *:80 :
Und bei * :
Ich weiß echt nicht mehr weiter (Domains dürfen im Klartext stehen, sind ja meine). Ach ja, Aufbau einer der VHost Konfigurationen:
Code: Alles auswählen
<VirtualHost *:80>
ServerAdmin stephan@krinetzki.de
ServerName krinetzki.de
ServerAlias www.krinetzki.de
ServerAlias ipv4.krinetzki.de
ServerAlias ipv6.krinetzki.de
ServerAlias *.krinetzki.de
# Indexes + Directory Root.
DirectoryIndex index.php index.htm index.html
DocumentRoot /var/www/krinetzki.de/httpdocs
<Directory /var/www/krinetzki.de/httpdocs>
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
# Logfiles
CustomLog /var/log/apache2/krinetzki.de_access_log combined
ErrorLog /var/log/apache2/krinetzki.de_error_log
ServerSignature Off
</VirtualHost>
Vielen Dank für eure Hilfe
Stephan
P.S: Und bitte auch erläutern, warum. Damit ich das lerne
