From: Jesse Weaver Date: Fri, 13 May 2016 22:40:11 +0000 (-0600) Subject: Bug 16520: Add new Plack-SetEnv syntax to Apache configuration files X-Git-Tag: v16.11.00~418 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=e40f61bc3087727db75d07b02c34545300d153b1;p=koha-ffzg.git Bug 16520: Add new Plack-SetEnv syntax to Apache configuration files This was not added to the old etc/koha-httpd.conf because that file has no infrastructure for Plack anyway. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- diff --git a/debian/templates/apache-shared.conf b/debian/templates/apache-shared.conf index 9ee3b0f206..b923578e0b 100644 --- a/debian/templates/apache-shared.conf +++ b/debian/templates/apache-shared.conf @@ -74,3 +74,8 @@ ErrorDocument 404 /cgi-bin/koha/errors/404.pl ErrorDocument 500 /cgi-bin/koha/errors/500.pl RewriteEngine On + + + # Erase any X-Koha-SetEnv headers from the client + RequestHeader unset X-Koha-SetEnv +