zoukankan      html  css  js  c++  java
  • 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
    应该就可以了 ,本人亲测

  • 相关阅读:
    ASP.NET面试题(二)
    iBatis.Net系列(四) iBatisNet API基础
    ibatisnet系列(一) 总览
    iBatisnet系列(二) 配置运行环境和日志处理
    HDU 1575 Tr A (矩阵乘法)
    HDU 连连看
    1504: ZZ的橱柜 (优先队列)
    离散化思想
    POJ 2777 Count Color (线段树)
    POJ 1823 Hotel (线段树)
  • 原文地址:https://www.cnblogs.com/yylei/p/12679273.html
Copyright © 2011-2022 走看看