micromata / dave

A totally simple and very easy to configure stand alone webdav server
Apache License 2.0
353 stars 45 forks source link

Error 207 Multistatus - Apache2 proxy #11

Closed lil5 closed 3 years ago

lil5 commented 6 years ago

The given Apache example does not work for me.

<VirtualHost *:443>
  ServerName localhost

  SSLEngine On
  SSLProxyEngine On
  SSLProxyCheckPeerCN Off
  SSLCertificateFile    /data/cert.pem
  SSLCertificateKeyFile /data/key.pem

  ProxyRequests Off
  ProxyPreserveHost On

  RewriteEngine On
  RewriteRule ^/webdav$ /webdav/ [R,L]
  RewriteRule ^/radicale$ /radicale/ [R,L]

  <Location /webdav/>
  ProxyPass           http://localhost:8081/
  ProxyPassReverse    http://localhost:8081/
  </Location>

  <Location "/radicale/">
    ProxyPass        http://localhost:5232/ retry=0
    ProxyPassReverse http://localhost:5232/
    RequestHeader    set X-Script-Name /radicale/
  </Location>

</VirtualHost>
address: "127.0.0.1"    # the bind address
port: "8081"            # the listening port
dir: "/data/webdav/data"     # the provided base dir
#prefix: "/webdav"       # the url-prefix of the original url
users:
  user:
    password:
chclaus commented 6 years ago

Hej @lil5,

thanks for your report. I'll give it a try as soon as possible.

Best, Christian