aboutsummaryrefslogtreecommitdiffstats
path: root/files/etc/apache2/conf.d/davical.conf
blob: 91c22757adc17e2a4ba6818c82a0206b2ed46ae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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

    SetEnvIf X-Forwarded-User (.*) REMOTE_USER=$1

    <Directory "/var/www/app/htdocs/images/">
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>