httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject [users@httpd] mod_dav configuration
Date Thu, 14 Aug 2008 02:49:20 GMT

Hi all,

my problem is the following: In /var/www/vhosts i have the virtual 
hosts, i.e. /var/www/vhosts/{,,}.Now i have n 
users. I want user1 to be able to access the and 
directory over webdav on his dav folder at{,}. I started 
with a simple test

Alias /dav "/var/www/vhosts"
<Directory "/var/www/vhosts">
    Dav On
    ForceType text/plain
    # Auth
    AuthType Digest
    AuthName DAV
    AuthUserFile "/var/www/.htpasswddav"
    # Allow access from any host
    Order allow,deny
    Allow from all
    Options None
        # Disable anything
    <LimitExcept GET OPTIONS>
        require user admin
    SSLOptions +StrictRequire

The LimitExcept directive is obviously incorrect because this way it 
blocks out a substantial part of standard http requests (not-dav 
requests). What i need help with is the following:

Q1 isnt there some easier way to allow different users to access 
different folders and subfolders over dav? Am I not doing things 
unnecessary complicated?
Q2 how can i make visible only the paths/dirs the user is to have access 
to? Symlinks dont work with mod_dav. Enabling dav on an empty dir (/dav) 
and aliasing with Alias /dav/ "/var/www/vhosts/" doesnt 
work as well. I'm not sure if mount --bind would be suitable because the 
box has about 300 users. Never used mount --bind in such a number and am 
not aware of possible security issues.
Q3 in the example config. above, wouldnt it be easier to only turn on 
DAV on /var/www/vhosts and then work with <Location> instead of <Directory>?
Q4 isnt there some easier way to allow different users to access 
different folders and subfolders?

Any help will be very appreciated.
TIA, Pavel Stratil

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