Ab Debian 7.2 oder höher muss man seine Vhost Configs anders gestalten.
Hier mal ein beispiel:
Gehe zu: 
	Code:
	/etc/apache2/sites-available
 Erstelle nun folgende Datei:
In der vhost.conf sollte es dann in etwa so sein:
	Code:
	<VirtualHost *:80 >
ServerAdmin replay@*eure_domain_url*
ServerName www.*eure_domain_url*
ErrorDocument 403 http://www.*eure_domain_url*/not_found.php
ServerAlias www.*eure_domain_url*
DocumentRoot /home/www
<Directory /home/www>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
</Directory>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
 Das wars aber noch nicht ganz, denn nun gehts weiter.
Gehe nun zu:
Öffne nun folgende Datei:
Jetzt sucht du folgendes in der apache2.conf Datei:
	Code:
	# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
 Jetzt musst du ein weiteren Eintrag hinzufügen und bitte nach dem was du suchen musstest:
	Code:
	<Directory /home/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>
 Das wars jetzt fast, aber du musst nun den Apache einmal reloaden und restarten.
Gebe nun folgenden Befehl ein um dein Apache zu reloaden:
	Code:
	service apache2 reload
 Gebe nun folgenden Befehl ein um dein Apache zu restarten:
	Code:
	service apache2 restart
 Das wars dann auch schon und dein Vhost sollte einwandfrei funktionieren.
Lg Dark
		
 
		
		
		
		
		
		
			
				__________________
				
Chaosqueen: Gegen unseren DDos Schutz hat keiner ne Chance.
Ich: Träum mal schön weiter du Naive Person. 
