mod_rewrite and DAV/HTTP requests

what are the mod_rewrite rules to forward certain HTTP requests to another server?

i want to proxy the DAV requests (PROPFIND, PUT, etc) to an internal server .

here's one of my rules which forwards requests for dynamic pages to apache listening on another port.

RewriteRule ^/(.*\.(cgi|pl|sh|shtml|php|py)\?.*) http://127.0.0.1:8080/$1 [P]

 

 

 

 

Top