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