PierreS
13.12.04, 10:34
Hallo,
ich bin gerade etwas ratlos. Der Apache läuft und funktioniert. Ich kann z.B. die index.html im Document-Root aufrufen.
Jetzt möchte ich aber über localhost/~pierre auf meine Seiten in public_html zugreifen. Dazu habe ich die entsprechenden Einstellungen in der httpd.conf gesetzt. Dennoch kommt immer:
[Mon Dec 13 11:26:33 2004] [error] [client 127.0.0.1] (13)Permission denied: access to /~pierre/index.html denied
Die Rechte sind wie folgt:
[pierre@athlon public_html]$ ls -l
insgesamt 17
drwxrwxrwx 10 pierre users 3704 2004-12-12 17:30 current
drwxr-xr-x 4 pierre users 560 2004-11-23 17:24 develop
drwxr-xr-x 9 pierre users 2104 2004-11-23 17:10 develop~
-rwxrwxrwx 1 pierre users 6 2004-11-15 20:54 index.html
-rw-r--r-- 1 pierre users 2 2004-11-15 20:54 index.html~
drwxrwxrwx 7 pierre users 3136 2004-11-15 22:58 phpMyAdmin
Die httpd.conf sieht wie folgt aus:
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Den zweiten Teil auskommentieren hilft auch nichts. Hier die komplette httpd.conf: http://files.laber-land.de/httpd.conf
Achja, für den Apache habe ich den Benutzer und die Gruppe httpd angelegt.
ich bin gerade etwas ratlos. Der Apache läuft und funktioniert. Ich kann z.B. die index.html im Document-Root aufrufen.
Jetzt möchte ich aber über localhost/~pierre auf meine Seiten in public_html zugreifen. Dazu habe ich die entsprechenden Einstellungen in der httpd.conf gesetzt. Dennoch kommt immer:
[Mon Dec 13 11:26:33 2004] [error] [client 127.0.0.1] (13)Permission denied: access to /~pierre/index.html denied
Die Rechte sind wie folgt:
[pierre@athlon public_html]$ ls -l
insgesamt 17
drwxrwxrwx 10 pierre users 3704 2004-12-12 17:30 current
drwxr-xr-x 4 pierre users 560 2004-11-23 17:24 develop
drwxr-xr-x 9 pierre users 2104 2004-11-23 17:10 develop~
-rwxrwxrwx 1 pierre users 6 2004-11-15 20:54 index.html
-rw-r--r-- 1 pierre users 2 2004-11-15 20:54 index.html~
drwxrwxrwx 7 pierre users 3136 2004-11-15 22:58 phpMyAdmin
Die httpd.conf sieht wie folgt aus:
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Den zweiten Teil auskommentieren hilft auch nichts. Hier die komplette httpd.conf: http://files.laber-land.de/httpd.conf
Achja, für den Apache habe ich den Benutzer und die Gruppe httpd angelegt.