httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
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
> <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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message