aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-pdp-pt-tls/hosts/alice/etc/apache2/sites-available/000-default.conf
blob: 4075f75bd8c6b00595a2fc3e4ba9ca2630719800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
WSGIPythonPath /var/www/tnc

<VirtualHost *:80>
    ServerName tnc.strongswan.org
    ServerAlias tnc
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www/tnc

    <Directory /var/www/tnc/config>
        <Files wsgi.py>
            <IfModule mod_authz_core.c>
               Require all granted
            </IfModule>
            <IfModule !mod_authz_core.c>
                Order deny,allow
                Allow from all
            </IfModule>
        </Files>
    </Directory>

    WSGIScriptAlias / /var/www/tnc/config/wsgi.py
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On

    Alias /static/ /var/www/tnc/static/

    ErrorLog ${APACHE_LOG_DIR}/tnc/error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/tnc/access.log combined
</VirtualHost>