Am 20.10.2011 05:30, schrieb Thomas Hochstein:
> Der Grund dafür kann eigentlich nur ein falsches DocumentRoot für den
> betreffenden vhost sein. Wie sieht denn dessen Konfiguration in
> sites-available aus?
>
> Grüße,
> -thh
Das Document root findet er ja wenn eine index.??? vorhanden ist
<VirtualHost *:80>
DocumentRoot "/var/www/sever_path/web"
ServerName sever_name
ServerAlias www.sever_name
ServerAdmin webmaster@sever_name
ErrorLog /var/log/apache2/sever_path/error.log
<Directory "/var/www/sever_path/web">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i
-fwebmaster@sever_name"
php_admin_value upload_tmp_dir /var/www/sever_path/tmp
php_admin_value session.save_path /var/www/sever_path/tmp
# PHPIniDir /var/www/conf/
sever_path.de
php_admin_value open_basedir
/var/www/sever_path/web:/var/www/sever_path/tmp:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sever_name [NC]
RewriteRule ^/(.*)$ /$1
RewriteCond %{HTTP_HOST} ^www.sever_name [NC]
RewriteRule ^/(.*)$ /$1
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId sever_name client0
</IfModule>
<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
Liebe Grüße Carmen