QNAP WEBDAV 權限問題解決


打開提示You don't have permission to access /test/ on this server這問題的解決辦法
修改/etc/config/apache/extra/apache-dav.conf
定位到
你共享的文件名如我要共享 “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>

 

將Options FollowSymLinks 改為 Options FollowSymLinks MultiViews Indexes

然后重啟
/etc/init.d/Qthttpd.sh restart
應該就可以了 ,本人親測


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM