I'm using Apache/2.2.3 (Linux/SUSE) with virtual hosts and every website brings an 403 error. mod_rewrite module is loaded. rewrite shows in the output of apache2ctl -t -D DUMP_MODULES.
In the error log I get Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/vhosts/default/htdocs/ Wierd is that all webfiles are in /srv/www/vhosts/*
A typical vhost entry looks like this:
<VirtualHost *:80>
ServerName myserver.com
ServerAlias *myserver.com
#RewriteEngine On
#RewriteOptions Inherit
DocumentRoot /srv/www/vhosts/messedesign
DirectoryIndex index.php index.html
Include /etc/apache2/conf.d/php5.conf
<Directory "/srv/www/vhosts/messedesign">
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/srv/www/vhosts/messedesign:/"
</IfModule>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
in /srv/www/vhosts/messedesign/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ /app/webroot/ [L]
RewriteRule (.*) /app/webroot/$1 [L]
</IfModule>
The files themselves have all at least read status (-rw-r--r--).
What else should I check?
PS: I commented "RewriteEngine On" in /srv/www/vhosts/.htaccess out and instead of an 403 I get now the Plesk Welcome Page "You see this page because there is no Web site at this address."