You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Simon Moser <si...@netzschmiede.ch> on 2003/01/03 09:46:11 UTC

[users@httpd] Is WebDAV not supported by mod_rewrite?


Hello,

we are encontering problems with mod_rewrite at our site with the following setup:

A SSL-enabled Webserver acts as reverse-proxy for incoming requests. SSL is used
to avoid sending cleartext-passwords over the net. The requests are forwarded to
another webserver with mod_dav enabled using mod_rewrite. 

When connecting to the mod_dav enabled webserver directly, the setup seems fine,
but when connecting via the reverse-proxy, the COPY and MOVE requests fail with
the following error:

   .
   .
dav:/upload/wwwtest.mydomain.org/> copy index.html index1.html
Copying `/upload/wwwtest.mydomain.org/index.html' to
`/upload/wwwtest.mydomain.org/index1.html':  failed:
502 Bad Gateway


Some investigation (changing the logformat of the dav-enabled webserver) showed
that the http-header of  MOVE and COPY requests contain a 'Destination'-field
which mod_rewrite does actually not rewrite .....

   .
   .
192.168.1.100 - smoser [29/Dec/2002:21:45:56 +0100] "PROPFIND
/upload/wwwtest.mydomain.org/index1.html/ HTTP/1.1" 404 249 - HOST:
davhost.mydomain.org:8010
192.168.1.100 - smoser [29/Dec/2002:21:45:56 +0100] "COPY
/upload/wwwtest.mydomain.org/index.html HTTP/1.1" 502 259 DESTINATION:
https://sslhost.mydomain.org:443/upload/wwwtest.mydomain.org/index1.html HOST:
davhost.mydomain.org:8010
   .
   .


Does anybody know if mod_rewrite supports WebDAV? Is anybody using a similar setup?


Best regards,
Simon Moser





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org