Apache - DirectoryIndex ohne Wirkung?!?

Post Reply
Message
Author
Steffen

Apache - DirectoryIndex ohne Wirkung?!?

#1 Post by Steffen »

Hallo Leute,

ich habe folgendes Problem mit Apache 1.3 unter SuSE 7.0:
Ich habe die Funktion UserDir aktiviert in httpd.conf und zum testen in meinem Homedir angelegt. Funktioniert soweit auch alles! Aber nun ist in httpd.conf ja "DirectoryIndex index.html index.htm usw." gesetzt und wenn ich das richtig verstehe sollte dies dazu führen, dass diese Datei(en), sofern nichts anderes nagegeben wurde automatisch an den Client geschickt werden, sofern vorhanden. Genau das geschieht aber nicht?!? Sondern es wird das Inhaltsverzeichnis von public_html angezeigt. Wenn ich dann index.html anklicke erschient wird diese angezeigt?!?

Was mache ich falsch?

Steffen
---------Ausschnitt aus httpd.conf----------------
#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>

#
# 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
# 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>

#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm
</IfModule>
--------------------------------------

Post Reply