Hello,
I am looking for a way to grant authenticated users access to a directory
matching their username and denying access to all other directories.
The idea is that I have dozens of WebDAV and need a way to avoid putting a
directive like
Directory /var/www/webdav/user999
Require user
--- Nick Kew n...@webthing.com schrieb am Di, 22.9.2009:
Easier just to have the same URL for everyone (protected
with
Require valid-user or similar), and map that to the
directory
for the authenticated user. Rewriterule can check for
the
authenticated user.
Do you mean like this:
--- Rich Bowen rbo...@rcbowen.com schrieb am Di, 22.9.2009:
Consider using mod_authz_owner which will do
authentication based on the username that owns the
file/directory. Assuming that the directories in question
will be owned by that user, that should work.
Unfortunately that will not work