blob: 482eff654959bbabcf7e61bb71a8a621fc668bf7 (
plain) (
tree)
|
|
<VirtualHost *:80>
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
<Directory "/var/www/app/htdocs">
AuthType Basic
AuthName "private area"
AuthUserFile /etc/apache2/davical.htpasswd
Require valid-user
</Directory>
<Directory "/var/www/app/htdocs/images/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
|