1

如何在上实现 WebDav 支持?

错误:

svn:“[repo]”的选项“授权失败”

我找不到任何例子。我所拥有的unknown directive

ListenHTTPS
        Address 192.168.1.200
        Port 443
        Cert "/etc/pound/server.pem"
        WebDav 1
        HTTPSHeaders 1 "Front-End-Https: on"'

        Service
                HeadRequire "Host: .*svn.mydomain.com.*"
                BackEnd
                        Address 192.168.1.21
                        Port    80
                End
        End
        Service
                HeadRequire "Host: .*svn.mydomain.org.*"
                BackEnd
                        Address 192.168.1.21
                        Port    80
                End
        End
End
4

1 回答 1

2

解决方案xHTTP 2

ListenHTTPS
        Address 192.168.1.200
        Port 443
        Cert "/etc/pound/server.pem"

        xHTTP 2

        Service
        ...

来自man pound谁知道手册有有用的信息?):

xHTTP value
              Defines which HTTP verbs are accepted. The possible values are:
              ...
              2  additionally  allow  standard WebDAV verbs (LOCK, UNLOCK, PROPFIND, PROPPATCH, SEARCH, MKCOL, MOVE, COPY, OPTIONS, TRACE, MKACTIVITY, CHECKOUT, MERGE, REPORT).
               ...
于 2013-03-20T18:07:44.507 回答