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 assumed mod_php5 is used, as it sets a few default php
10 # Don't forget to change the server name
11 # ServerName dav.example.org
13 # The DocumentRoot is also required
14 # DocumentRoot /home/sabredav/
17 # This makes every request go to server.php
18 RewriteRule ^/(.*)$ /server.php [L]
20 # Output buffering needs to be off, to prevent high memory usage
21 php_flag output_buffering off
23 # This is also to prevent high memory usage
24 php_flag always_populate_raw_post_data off
26 # This is almost a given, but magic quotes is *still* on on some
28 php_flag magic_quotes_gpc off
30 # SabreDAV is not compatible with mbstring function overloading
31 php_flag mbstring.func_overload off