]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
captive: Run apache in HTTP/1.0 mode
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 May 2017 12:58:23 +0000 (14:58 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Sep 2017 18:00:04 +0000 (19:00 +0100)
Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Tested-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/httpd/vhosts.d/captive.conf

index d0161118ace346a0c9aa437b07f96044aec1b49d..a57bf7a8bee4a413668fe2c196c68f5ba40493ce 100644 (file)
@@ -3,6 +3,12 @@ Listen 1013
 <VirtualHost *:1013>
        DocumentRoot /srv/web/ipfire/html/captive
 
+       # Close all connections as soon as a reply has been sent.
+       # Most browsers open loads of connections which then causes
+       # the access page being loaded again after a correct coupon
+       # code was entered.
+       KeepAlive Off
+
        ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
        Alias /assets/ /srv/web/ipfire/html/captive/assets/