]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/httpd/vhosts.d/captive.conf
ddf8a15769d42c72c56e0c14ddd3437db0fbfdce
[people/pmueller/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
6 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
7 Alias /assets/ /srv/web/ipfire/html/captive/assets/
8
9 ScriptAlias /favicon.ico /srv/web/ipfire/html/captive/assets/favicon.ico
10
11 # All unknown URIs will be redirected to the first
12 # redirector script.
13 ScriptAliasMatch .* /srv/web/ipfire/cgi-bin/captive/redirect.cgi
14
15 <Directory /srv/web/ipfire/cgi-bin/captive>
16 Options ExecCGI
17 Order allow,deny
18 Allow from all
19 </Directory>
20
21 <Directory /srv/web/ipfire/html/captive>
22 Order allow,deny
23 Allow from all
24 </Directory>
25 </VirtualHost>