QNAP WEBDAV permission problem solving

Open the prompt You don't have permission to access / test / on this server The solution to this problem is to
modify /etc/config/apache/extra/apache-dav.conf to
locate
the file name you share as I want to share "soft" "Print"

Alias "/print" "/share/CACHEDEV1_DATA/print"
<Directory "/share/CACHEDEV1_DATA/print">
        #Options FollowSymLinks
        Options FollowSymLinks MultiViews Indexes
        AllowOverride All
        Order allow,deny
        Allow from all
</Directory>
<Location "/print">
        IndexOptions Charset=UTF-8
        Dav On
        AuthType Basic
        AuthName "DAV-print"
        AuthBasicProvider external
        AuthExternal pwauth
        <LimitExcept OPTIONS>
                require user "admin"
        </LimitExcept>
</Location>
Alias "/soft" "/share/CACHEDEV1_DATA/soft"
<Directory "/share/CACHEDEV1_DATA/soft">
        #Options FollowSymLinks
        Options FollowSymLinks MultiViews Indexes
        AllowOverride All
        Order allow,deny
        Allow from all
</Directory>
<Location "/soft">
        IndexOptions Charset=UTF-8
        Dav On
        AuthType Basic
        AuthName "DAV-soft"
        AuthBasicProvider external
        AuthExternal pwauth
        <LimitExcept OPTIONS>
                require user "admin"
        </LimitExcept>
</Location>

 

Change Options FollowSymLinks to Options FollowSymLinks MultiViews Indexes

Then restart
/etc/init.d/Qthttpd.sh restartshould befine
, I personally test

Guess you like

Origin www.cnblogs.com/yylei/p/12679273.html