]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/examples/webserver/apache2_vhost_cgi.conf
Merge remote branch 'friendica/master'
[friendica-addons.git] / dav / SabreDAV / examples / webserver / apache2_vhost_cgi.conf
1 # This is a sample configuration to setup a dedicated Apache vhost for WebDAV.
2 #
3 # The main thing that should be configured is the servername, and the path to
4 # your SabreDAV installation (DocumentRoot).
5 #
6 # This configuration assumes CGI or FastCGI is used.
7 <VirtualHost *:*>
8
9     # Don't forget to change the server name
10     # ServerName dav.example.org
11
12     # The DocumentRoot is also required
13     # DocumentRoot /home/sabredav/
14
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.
18     RewriteEngine On
19     RewriteRule ^/(.*)$ /server.php [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
20
21 </VirtualHost *:*>