You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jose Marcio Martins da Cruz <Jo...@ensmp.fr> on 2006/01/06 12:11:17 UTC

[users@httpd] Pb configuring mod_dav

Hello,

I having problems to find the best way to configure multiple Dav enabled
directories.

What I'd like is to to have an arborescence looking like :

	/users
	/users/alice
	/users/bob
	/users/cecil
	...

Each user directory shall have Dav access only to its owner (alice, bob, ...)
and webmaster.

The goal is to minimise modifications at server config (httpd.conf) - only Dav
enable directive - and control Dav access with .htaccess files inside each user
directory.

Roughly speaking, to add a new user, it should be enough to create the directory
with the good rights and to put inside the good .htaccess file.

I haven't succeeded to do this.

Suggestions are welcome.

Thanks

Jose-Marcio



---------------------------------------------------------------------
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


Re: [users@httpd] Pb configuring mod_dav

Posted by Joshua Slive <jo...@slive.ca>.
On 1/6/06, Jose Marcio Martins da Cruz <Jo...@ensmp.fr> wrote:

> What I'd like is to to have an arborescence looking like :
>
>         /users
>         /users/alice
>         /users/bob
>         /users/cecil
>         ...
>
> Each user directory shall have Dav access only to its owner (alice, bob, ...)
> and webmaster.
>
> The goal is to minimise modifications at server config (httpd.conf) - only Dav
> enable directive - and control Dav access with .htaccess files inside each user
> directory.
>
> Roughly speaking, to add a new user, it should be enough to create the directory
> with the good rights and to put inside the good .htaccess file.

I don't understand the problems.  You should just need to enable dav
on /users/* and then put "Require user bob" in the .htaccess file in
bob's directory and similarly for the others.  What's the
complication?

Joshua.