From: Michael Tremer Date: Wed, 3 May 2017 12:58:23 +0000 (+0200) Subject: captive: Run apache in HTTP/1.0 mode X-Git-Tag: v2.19-core115~60^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78148cc1e55b0fc85e8433ef30e7e4652e6c6c63;p=people%2Fstevee%2Fipfire-2.x.git captive: Run apache in HTTP/1.0 mode Reported-by: Daniel Weismüller Tested-by: Daniel Weismüller Signed-off-by: Michael Tremer --- diff --git a/config/httpd/vhosts.d/captive.conf b/config/httpd/vhosts.d/captive.conf index d0161118ac..a57bf7a8be 100644 --- a/config/httpd/vhosts.d/captive.conf +++ b/config/httpd/vhosts.d/captive.conf @@ -3,6 +3,12 @@ Listen 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/