httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Automatically grant authenticated users access to a dir matching their username
Date Tue, 22 Sep 2009 11:44:45 GMT
Joahnn Gile wrote:
> 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 user999
> </Directory>

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.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message