"Symbolischer link nicht erlaubt oder link-Ziel nicht erreichbar" auf frisch installierten XAMPP für Linux

Habe ich eine frisch-Installation von XAMPP for Linux (version 1.7.4) auf meinem Ubuntu 11.04 x64 laptop.
Dann machte ich einen link in meinem htdocs-Ordner in meinem Projekt Ordner:

$pwd
/opt/lampp/htdocs
$sudo ln -s /home/petra/projects/webapp webapp
$ls -al
drwxr-xr-x  4 nobody root 4096 2011-08-18 11:58 .
drwxr-xr-x 18 root   root 4096 2011-01-25 15:33 ..
lrwxrwxrwx  1 root   root   26 2011-08-18 11:42 webapp -> /home/petra/projects/webapp

Als ich öffnete die webapp im browser mit http://localhost/webapp, es zeigte nur "403 Access Forbidden". Das Fehlerprotokoll sagte:

$tail -f /opt/lampp/logs/error_log
[Thu Aug 18 11:43:15 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /opt/lampp/htdocs/webapp

Hier ist die httpd.conf. Seltsam, die FollowSymLinks Optionen bereits definiert sind (Standard).

Es ist ein ähnliche Frage auf der XAMPP-forum aber ich denke, dass niemand scheint zu achten, um es nicht mehr.

Hat jemand eine Idee wie man dieses Problem beheben?

Sie müssen nicht ein .htaccess Datei in /opt/lampp/htdocs deaktiviert FollowSymLinks?
es gibt keine .htaccess Datei in der /opt/lampp/htdocs

InformationsquelleAutor Petra Barus | 2011-08-18

Schreibe einen Kommentar