From 78148cc1e55b0fc85e8433ef30e7e4652e6c6c63 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 May 2017 14:58:23 +0200 Subject: [PATCH] captive: Run apache in HTTP/1.0 mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Daniel Weismüller Tested-by: Daniel Weismüller Signed-off-by: Michael Tremer --- config/httpd/vhosts.d/captive.conf | 6 ++++++ 1 file changed, 6 insertions(+) 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/ -- 2.39.2