23 lines
611 B
Plaintext
23 lines
611 B
Plaintext
|
|
<VirtualHost *:80>
|
||
|
|
ServerName localhost
|
||
|
|
DocumentRoot /usr/share/davical/htdocs
|
||
|
|
DirectoryIndex index.php
|
||
|
|
|
||
|
|
Alias /images/ /usr/share/davical/htdocs/images/
|
||
|
|
|
||
|
|
<Directory /usr/share/davical/htdocs>
|
||
|
|
AllowOverride All
|
||
|
|
Require all granted
|
||
|
|
</Directory>
|
||
|
|
|
||
|
|
AcceptPathInfo On
|
||
|
|
|
||
|
|
# CalDAV principal URL
|
||
|
|
RewriteEngine On
|
||
|
|
RewriteRule ^/caldav/(.*)$ /caldav.php/$1 [L]
|
||
|
|
RewriteRule ^/\.well-known/caldav /caldav.php [R=301,L]
|
||
|
|
|
||
|
|
ErrorLog ${APACHE_LOG_DIR}/davical_error.log
|
||
|
|
CustomLog ${APACHE_LOG_DIR}/davical_access.log combined
|
||
|
|
</VirtualHost>
|