我安装了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错误非常有用。
您是否为任何URL启用WebDAV? 例:
<Location /> Dav On </Location>
你build立了一个DavLockDB
吗?