Hallo Karl,
danke für den Tipp, aber das war's leider auch nicht: Hier mal meine
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
Christian Fröbel schrieb:
Hallo Wolfgang,
<snip>
Standardmäßig ist das directory-Listing ausgeschaltet. Leg doch mal ein paar html-Seiten rein und schaue, ob die angezeigt werden ->index.html
Ansonsten musst du Options +Indexes in die entsprechende Konfiguration eintragen, z.B. in einer .htaccess - Datei...
Wolfgang
Okay, das erklärt, warum ich kein Directory-Listing machen kann. Aber auch der direkte Zugriff auf eine Datei (z. B. index.html) klappt nicht.
Ich werde nachher mal eine .htaccess mit +Indexes in public_html anlegen. Mal sehen, was dann passiert. Vielleicht bin ich dann schlauer...
Ich hatte das Problem in ähnlicher Form, bei mir war (warum auch immer) in der mod_userdir.conf die Zeile
UserDir disable
aktiviert.
MfG Karl Brandt