2013-03-19 1 views
1

pound에 WebDav 지원을 구현하려면 어떻게해야합니까?리버스 프록시 (파운드)에서 svn 지원 OPTIONS 인증이 실패했습니다

오류 :

svn: OPTIONS of "[repo] "authorization failed"

나는 어떤 예를 찾을 수 없습니다. 내가 가지고하는 것은 나에게 man pound에서 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 

답변

2

솔루션 xHTTP 2

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

     xHTTP 2 

     Service 
     ... 

제공 (매뉴얼 유용한 정보를 알고 있었다 ?) :

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). 
       ...