Bugzilla – Attachment 55397 Details for
Bug 16918
opac-main.pl is not running under plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16918: Serve OPAC/intranet homepage via Plack
Bug-16918-Serve-OPACintranet-homepage-via-Plack.patch (text/plain), 2.10 KB, created by
Marcel de Rooy
on 2016-09-09 07:01:48 UTC
(
hide
)
Description:
Bug 16918: Serve OPAC/intranet homepage via Plack
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-09-09 07:01:48 UTC
Size:
2.10 KB
patch
obsolete
>From 3239ebe4bd0a2dafa9a6f49eae09553b2d7e6c08 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <jweaver@bywatersolutions.com> >Date: Thu, 21 Jul 2016 16:29:13 -0600 >Subject: [PATCH] Bug 16918: Serve OPAC/intranet homepage via Plack >Content-Type: text/plain; charset=utf-8 > >Test plan: > 1) Shut down the Plack server. > 2) The OPAC and staff side homepage should still load (as it is > mistakenly being loaded via CGI). > 3) Apply patch. > 4) Both homepages should now not load. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/templates/apache-shared-intranet-plack.conf | 1 + > debian/templates/apache-shared-opac-plack.conf | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/debian/templates/apache-shared-intranet-plack.conf b/debian/templates/apache-shared-intranet-plack.conf >index f77f640..e243f20 100644 >--- a/debian/templates/apache-shared-intranet-plack.conf >+++ b/debian/templates/apache-shared-intranet-plack.conf >@@ -24,6 +24,7 @@ > # RequestHeader set X-FORWARDED-PROTO "https" > > #Â Point the intranet site to Plack >+ ProxyPass /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" > >diff --git a/debian/templates/apache-shared-opac-plack.conf b/debian/templates/apache-shared-opac-plack.conf >index f68e3d2..0abb2c3 100644 >--- a/debian/templates/apache-shared-opac-plack.conf >+++ b/debian/templates/apache-shared-opac-plack.conf >@@ -14,6 +14,7 @@ > # RequestHeader set X-FORWARDED-PROTO "https" > > #Â Point the intranet site to Plack >+ ProxyPass /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" > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16918
:
53620
|
53621
|
55172
|
55361
| 55397 |
55398