sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #92445
Apache access til brugerfiler forbudt.
Denne URL: http://localhost/~jph/phpinfo.php
giver i Mandriva 2007 denne fejl:
Access forbidden!
You don't have permission to access the requested object. It is either
read-protected or not readable by the server.
ls -l siger:
drwxr-xr-x - - - - public_html/
og
-rwxr-xr-x - - - - phpinfo.php
Der mangler altså ingen permissions, hvorfor kan serveren så ikke læse
filen?.
Hvis jeg flytter filen over i Documentroot: /var/www/html, fungerer
http://localhost/phpinfo.php helt korrekt.
Mangler jeg et directiv i httpd.conf?.
Filen phpinfo.php har dette indhold:
<html><head><title>PHP Test</title></head>
<body>
<?php phpinfo()?>
</body></html>
--
Med venlig hilsen
Jørgen Heesche
mailto:heesche@xxxxxxxxxxx
Follow ups