Er zeigt bei der Eingabe der Hostnamens keine index..html an sondern nur das obligatorische "it works", also greift auf die Defaultpage zu ... sobald ich die ip verwende klappt es mit der Darstellung.
Habe aber in meinem Client in der Host Datei einen DNS eintrag hinterlegt.
Meine Config sieht folgendermaßen aus:
- Code: Select all
<VirtualHost 192.168.112.22>
ServerName linksite.local
# ServerAlias linki.local
ServerAdmin webmaster@localhost
DocumentRoot /home/skyerjoe/html/
<Directory /home/skyerjoe/html/>
Options Indexes FollowSymLinks +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
# <Directory "/home/skyerjoe/html/">
# 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>
#Include /etc/apache2/sites-available/default-ssl.conf
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>
Was issen da da an der config falsch ?
grüße sykerjoe