Bug 16918 (QA Followup) - Add reverse proxy and fix intranet vs opac typo
authorNick Clemens <nick@bywatersolutions.com>
Thu, 8 Sep 2016 16:19:08 +0000 (16:19 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Sep 2016 09:25:40 +0000 (09:25 +0000)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended the patch to adjust a typo: ndex should be index.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
debian/templates/apache-shared-intranet-plack.conf
debian/templates/apache-shared-opac-plack.conf

index e243f20..f5e7b90 100644 (file)
@@ -25,6 +25,7 @@
 
         # Point the intranet site to Plack
         ProxyPass /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet/mainpage.pl"
+        ProxyPassReverse /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet/mainpage.pl"
         ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
         ProxyPassReverse /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/intranet"
 
index 0abb2c3..3ea6acd 100644 (file)
@@ -13,8 +13,9 @@
 
        # RequestHeader set X-FORWARDED-PROTO "https"
 
-        # Point the intranet site to Plack
+        # Point the OPAC site to Plack
         ProxyPass /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac/opac-main.pl"
+        ProxyPassReverse /index.html "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac/opac-main.pl"
         ProxyPass /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"
         ProxyPassReverse /cgi-bin/koha "unix:/var/run/koha/${instance}/plack.sock|http://localhost/opac"