Re: HowTo serve a directory via WebDAV with read access only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are missing

<Limit GET HEAD OPTIONS>
    Require user readOnlyUser
</Limit>

Greetings
Michelle



Am DATE hackte AUTHOR in die Tasten: Torge Riedel
> Hi list,
>
> I cannot make the following working with apache 2.4:
>
> Serve a directory via WebDAV with files and allow only listing directory
> content and downloading the files.
>
> Here is my - current - snippet from the virtualhost:
>
>    Alias "/files" "/var/local/webdav/files"
>    <Directory "/var/local/webdav/files">
>      Dav on
>    </Directory>
>    <Location "/files/">
>      Options +Indexes -FollowSymLinks
>      Require all granted
>      <LimitExcept GET HEAD OPTIONS PROPFIND>
>          Require valid-user
>      </LimitExcept>
>    </Location>
>
> but all I get is either full access or no access. With the config above I
> have no access. As I understood this should limit the access except to the
> listed http methods. Which in turn should allow WebDAV read access. IMHO.
>
> Hope that you can point me to the right config.
>
> Thanks in advance and regards
> Torge
------------------------------------------------------------------------

-- 
Michelle Konzack
00372-54541400


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux