QNAP WEBDAV 权限问题解决
打开提示You don't have permission to access /test/ on this server这问题的解决办法
修改/etc/config/apache/extra/apache-dav.conf
定位到
你共享的文件名如我要共享 “soft" "Print“
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 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
应该就可以了 ,本人亲测
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步