]> git.ipfire.org Git - ipfire-2.x.git/blob - config/httpd/vhosts.d/captive.conf
0824b79561d87f37728c9287399ab67f39e7fc82
[ipfire-2.x.git] / config / httpd / vhosts.d / captive.conf
1 Listen 1013
2
3 <VirtualHost *:1013>
4 DocumentRoot /srv/web/ipfire/html/captive
5 ServerAdmin alexander.marx@oab.de
6 ErrorLog /var/log/httpd/captive/error_log
7 TransferLog /var/log/httpd/captive/access_log
8
9 <Directory /srv/web/ipfire/html/captive>
10 Options ExecCGI
11 Order allow,deny
12 Allow from all
13 </Directory>
14
15 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
16 Alias /assets/ /srv/web/ipfire/html/captive/assets/
17
18 ScriptAlias /favicon.ico /srv/web/ipfire/html/captive/assets/favicon.ico
19
20 # All unknown URIs will be redirected to the first
21 # redirector script.
22 ScriptAliasMatch .* /srv/web/ipfire/html/captive/index.cgi
23
24 <Directory /srv/web/ipfire/cgi-bin/captive>
25 Options ExecCGI
26 Order allow,deny
27 Allow from all
28 </Directory>
29 </VirtualHost>