4075f75bd8c6b00595a2fc3e4ba9ca2630719800
[strongswan.git] / testing / tests / tnc / tnccs-20-pdp-eap / hosts / alice / etc / apache2 / sites-available / 000-default.conf
1 WSGIPythonPath /var/www/tnc
2
3 <VirtualHost *:80>
4     ServerName tnc.strongswan.org
5     ServerAlias tnc
6     ServerAdmin webmaster@localhost
7
8     DocumentRoot /var/www/tnc
9
10     <Directory /var/www/tnc/config>
11         <Files wsgi.py>
12             <IfModule mod_authz_core.c>
13                Require all granted
14             </IfModule>
15             <IfModule !mod_authz_core.c>
16                 Order deny,allow
17                 Allow from all
18             </IfModule>
19         </Files>
20     </Directory>
21
22     WSGIScriptAlias / /var/www/tnc/config/wsgi.py
23     WSGIApplicationGroup %{GLOBAL}
24     WSGIPassAuthorization On
25
26     Alias /static/ /var/www/tnc/static/
27
28     ErrorLog ${APACHE_LOG_DIR}/tnc/error.log
29     LogLevel warn
30     CustomLog ${APACHE_LOG_DIR}/tnc/access.log combined
31 </VirtualHost>