[us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
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

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Nick Kew
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

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
--- 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:

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 07:53 , Joahnn Gile wrote: --- 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

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
--- 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

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread André Warnier
Joahnn Gile wrote: --- 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