]> git.ipfire.org Git - ipfire-2.x.git/blame - config/httpd/vhosts.d/captive.conf
captive-portal: Code cleanup
[ipfire-2.x.git] / config / httpd / vhosts.d / captive.conf
CommitLineData
8b920789
AM
1Listen 1013
2
3<VirtualHost *:1013>
4 DocumentRoot /srv/web/ipfire/html/captive
8b920789
AM
5
6 <Directory /srv/web/ipfire/html/captive>
7 Options ExecCGI
4ddf4538
MT
8 Order allow,deny
9 Allow from all
10 </Directory>
8b920789 11
4ddf4538 12 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
8b920789
AM
13 Alias /assets/ /srv/web/ipfire/html/captive/assets/
14
15 ScriptAlias /favicon.ico /srv/web/ipfire/html/captive/assets/favicon.ico
16
17 # All unknown URIs will be redirected to the first
18 # redirector script.
4ddf4538 19 ScriptAliasMatch .* /srv/web/ipfire/html/captive/index.cgi
8b920789 20
4ddf4538
MT
21 <Directory /srv/web/ipfire/cgi-bin/captive>
22 Options ExecCGI
23 Order allow,deny
24 Allow from all
8b920789
AM
25 </Directory>
26</VirtualHost>