1 # This is a sample configuration to setup a dedicated Apache vhost for WebDAV.
3 # The main thing that should be configured is the servername, and the path to
4 # your SabreDAV installation (DocumentRoot).
6 # This configuration assumes CGI or FastCGI is used.
9 # Don't forget to change the server name
10 # ServerName dav.example.org
12 # The DocumentRoot is also required
13 # DocumentRoot /home/sabredav/
15 # This makes every request go to server.php. This also makes sure
16 # the Authentication information is available. If your server script is
17 # not called server.php, be sure to change it.
19 RewriteRule ^/(.*)$ /server.php [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]