打开提示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
应该就可以了 ,本人亲测

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2021-11-24
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2021-08-23
  • 2021-05-29
  • 2021-12-06
  • 2021-06-20
  • 2021-12-22
  • 2022-01-06
相关资源
相似解决方案