From 010e82fe94a2d2b41f518a4ac3325ffa0dc2e5b5 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 9 Feb 2019 14:48:22 +0100 Subject: finishing work. davical now works with my setup --- files/etc/apache2/conf.d/davical.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 files/etc/apache2/conf.d/davical.conf (limited to 'files/etc') diff --git a/files/etc/apache2/conf.d/davical.conf b/files/etc/apache2/conf.d/davical.conf new file mode 100644 index 0000000..482eff6 --- /dev/null +++ b/files/etc/apache2/conf.d/davical.conf @@ -0,0 +1,26 @@ + + + ServerName #APACHE_SERVER_NAME + UseCanonicalName on + + DocumentRoot /var/www/app/htdocs + DirectoryIndex index.php index.html + + # To cirkumvent phps $_SERVER['HTTPS']-check + SetEnv HTTPS "on" + + AcceptPathInfo On + + + AuthType Basic + AuthName "private area" + AuthUserFile /etc/apache2/davical.htpasswd + Require valid-user + + + + AllowOverride None + Order allow,deny + Allow from all + + -- cgit v1.2.3