AddHandler php7-script .php
AddType text/html .php
ServerName davical.example
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot /usr/share/davical/htdocs
DirectoryIndex index.php index.html
Alias /images/ /usr/share/davical/htdocs/images/
Require all granted
#Activate RewriteEngine
RewriteEngine On
# Filter all files that do not exist
RewriteCond %{LA-U:REQUEST_FILENAME} !-f
RewriteCond %{LA-U:REQUEST_FILENAME} !-d
# and redirect them to our caldav.php
RewriteRule ^(.*)$ /caldav.php/$1 [NC,L]
php_value include_path /usr/share/awl/inc
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value register_globals 0
php_value error_reporting "E_ALL & ~E_NOTICE"
php_value default_charset "utf-8"
#
# DocumentRoot /usr/share/davical/htdocs
# DirectoryIndex index.php index.html
#
# Alias /images/ /usr/share/davical/htdocs/images/
#
# Require all granted
#
#
# #Activate RewriteEngine
# RewriteEngine On
# # Filter all files that do not exist
# RewriteCond %{LA-U:REQUEST_FILENAME} !-f
# RewriteCond %{LA-U:REQUEST_FILENAME} !-d
# # and redirect them to our caldav.php
# RewriteRule ^(.*)$ /caldav.php/$1 [NC,L]
#
# php_value include_path /usr/share/awl/inc
# php_value magic_quotes_gpc 0
# php_value magic_quotes_runtime 0
# php_value register_globals 0
# php_value error_reporting "E_ALL & ~E_NOTICE"
# php_value default_charset "utf-8"
#
# SSLEngine on
# SSLCertificateFile "/config/ssl/cert.pem"
# SSLCertificateKeyFile "/config/ssl/private.pem"
#