Plesk + DirectoryIndex + Index.pl = Error
Mir ist gerade, in meinen Errorlogs des Apaches. folgende Fehlerzeile aufgefallen:
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/xxx/httpdocs/index.pl
Schuld daran ist die falsche Reihenfolge des Directoryindex.
Einfach in der Datei /etc/apache2/mods-enabled/dir.conf “index.php” vor “index.pl” setzen. Danach den Apache-Webserver neu starten.
Vorher:
<ifModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml index.cfm index.htm
</ifModule>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml index.cfm index.htm
</ifModule>
Nachher:
<ifModule mod_dir.c>
DirectoryIndex index.html index.php index.cgi index.pl index.xhtml index.shtml index.cfm index.htm
</ifModule>
DirectoryIndex index.html index.php index.cgi index.pl index.xhtml index.shtml index.cfm index.htm
</ifModule>
Danke, das hat geholfen!