]> git.ipfire.org Git - ipfire-2.x.git/blame - config/httpd/vhosts.d/captive.conf
captive: Run apache in HTTP/1.0 mode
[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 5
78148cc1
MT
6 # Close all connections as soon as a reply has been sent.
7 # Most browsers open loads of connections which then causes
8 # the access page being loaded again after a correct coupon
9 # code was entered.
10 KeepAlive Off
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.
0a02d9bb 19 ScriptAliasMatch .* /srv/web/ipfire/cgi-bin/captive/redirect.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 25 </Directory>
0a02d9bb
MT
26
27 <Directory /srv/web/ipfire/html/captive>
9b6227cc 28 Options +FollowSymlinks
0a02d9bb
MT
29 Order allow,deny
30 Allow from all
31 </Directory>
8b920789 32</VirtualHost>