Hello,
kennt sich hier einer mit dem Apache Mod Userdir aus und was passiert, wenn es den User nicht gibt, der z.B im Request
http://example.org/~user/irgend_eine_ressource.html
genannt wird?
Es gibt dafür ein Verzeichnis in der Document Root, das "~user" heißt und die Ressource enthält.
Normalerweise wird diese Anfrage intern weitergeleitet auf
/home/user/public_html/irgend_eine_ressource.html
weil dies in mod_userdir.conf so festgelegt ist.
------
<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
<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>
</IfModule>
--------
Wie kann man realisieren, ob der Zugriff überhaupt stattfindet und wo er landet. Der Host ist leider "automatisiert" umgezogen worden...
Leider landen noch alle Access-Log-Einträge aller vHosts in dem einen einzigen Access-File, wodurch ich nicht sehen kann, welcher Zugriff überhaupt für welche Domain ist.
Widersprechen sich die beiden Limits nicht auch?
Ich ahbe jetzt noch
Liebe Grüße
Tom
Coming Back soon
