httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Re: mod_dav on a shared hosting.
Date Wed, 12 Sep 2007 13:29:31 GMT
On 9/12/07, Michaël Cadilhac <michael@cadilhac.name> wrote:
> michael@cadilhac.name (Michaël Cadilhac) writes:
>
> > "Joshua Slive" <joshua@slive.ca> writes:
> >
> >> On 9/10/07, Michaël Cadilhac <michael@cadilhac.name> wrote:
> >
> >>>  « The /webdav directory of each VirtualHost has DAV On »?
> >
> >> Sure. Just put that <Location> section in the main server config
> >> (outside any <VirtualHost> section) and it will be inherited by all
> >> vhosts.
> >
> > Aaah, THAT simple!  Thanks for having taken the time to answer such a
> > n00b question:-)
>
> Oh, and while I'm at it, ... My provider offers ssh access to the
> accounts, and everyone can access my files if I put them with the wrong
> rights.  Problem is, those lazy administrators will add the <Location>
> lines, but the only way to make my ~/www/webdav directory writable for
> httpd is to use a o+w right.
>
> (I can't suppose that o+w excludes other regular users, as each user has
> a different group.)
>
> Do you know another way to avoid such an heresy?

You can check the Group directive used in httpd.conf and give write
permissions to that group.

But in general, mod_dav is not an appropriate tool for mixed
file-system and web access. It expects to have complete and private
control of the directories that it is using.

Joshua.

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