Apache WebDav配置

时间:2012-06-22 10:25:09

标签: apache webdav apache2.2

我正在尝试在FreeBSD上的Apache 2.2上配置WebDav。 Apache运行正常,提供很多东西。

所有dav模块似乎都包含在LoadModules命令中。 这个虚拟主机工作正常。

当我访问www.mysite.com/admin/时,我会看到目录列表。没有其他的。我希望能够读/写等。

<VirtualHost 10.11.11.103:8180>
    ...
    config to server my site
    ...
    #enable webdav
    DavLockDB "/var/log/www/DavLock"
    Alias /admin/ /home/testing/pdf/
    <Directory "/home/testing/pdf/">
        Dav On
        Order Allow,Deny
        Allow from all
        <LimitExcept GET OPTIONS>
            Allow from All
        </LimitExcept>
    </Directory>

    # fixes a problem with several clients - redirects for folders with DAV methods.
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-careful
    BrowserMatch "MS FrontPage" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
    BrowserMatch "^gnome-vfs/1.0" redirect-carefully
    BrowserMatch "^XML Spy" redirect-carefully
    BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
</VirtualHost>

1 个答案:

答案 0 :(得分:0)

是的,你需要某种webdav客户端,所以你可以真正看到它是否有效。你可以试试bitkinex客户端。