linux – Apache dav模块产生尸体:无法访问/(不支持WebDAV?)
发布时间:2020-12-13 16:54:35 所属栏目:Linux 来源:网络整理
导读:我安装了apache然后我可以从命令行访问默认页面: $wget http://127.0.1.1 在Web浏览器中使用webmin: https://localhost:10000/ServersApache WebServerGlobal configurationConfigure Apache Modules 启用dav模块: Configure Apache ModulesModule Curren
我安装了apache然后我可以从命令行访问默认页面:
$wget http://127.0.1.1 在Web浏览器中使用webmin: https://localhost:10000/ Servers>Apache WebServer>Global configuration>Configure Apache Modules> 启用dav模块: Configure Apache Modules Module Current state dav Enable dav_fs Enable dav_lock Enable <Enable Selected Modules> 在命令行重新启动apache: $sudo /etc/init.d/apache2 restart 调用命令行dav客户端: $cadaver http://127.0.1.1 Could not access / (not WebDAV-enabled?): 405 Method Not Allowed Connection to `127.0.1.1' closed. dav:!> 缺什么? 解决方法
Apache的错误日志说什么?我发现错误日志对于解决WebDAV错误非常有用.
您是否为任何网址启用了WebDAV?例: <Location /> Dav On </Location> 你有没有设置DavLockDB? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |