Hallo,
ich habe gerade einen Apache2 Server unter OpenSuse 11.1 aufgesetzt und
habe folgendes Problem:
Ich möchte über mod_userdir den Inhalt des Verzeichnisses 'public_html'
eines jeden Users darstellen lassen über:
http://www.meinserver.de/~user
Dies funktioniert leider nicht. Ich bekomme einen 403er und im error-Log
[Mon Nov 09 14:02:35 2009] [error] [client 192.168.0.2] client denied by server configuration: /home/user/public_html
Wenn ich allerdings eingebe
http://www.meinserver.de/~user/
Dann funktioniert alles.
Meine Frage nun. Braucht man wirklich den Slash ('/') am Ende der URL oder
habe ich eventuell ein Problem mit meiner Konfiguration??
Viele Grüße
Klaus
PS: Hier die mod_userdir.conf
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot easily be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
#
# To rebuild apache with another setting you need to change the
# %userdir define in the spec file.
# not every user's directory should be visible:
UserDir disabled root
# to enable UserDir only for a certain set of users, use this instead:
#UserDir disabled
#UserDir enabled user1 user2
# the UserDir directive is actually used inside the virtual hosts, to
# have more control
UserDir public_html