Bugzilla – Attachment 51579 Details for
Bug 16520
Per-virtualhost SetEnvs don't work with Plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16520: Fix the Apache Plack config to load the main page through Plack
Bug-16520-Fix-the-Apache-Plack-config-to-load-the-.patch (text/plain), 1.99 KB, created by
Tomás Cohen Arazi
on 2016-05-17 16:00:17 UTC
(
hide
)
Description:
Bug 16520: Fix the Apache Plack config to load the main page through Plack
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2016-05-17 16:00:17 UTC
Size:
1.99 KB
patch
obsolete
>From f40ac42926c0ad9b866dd9604ed273367b680d1d Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <jweaver@bywatersolutions.com> >Date: Fri, 13 May 2016 16:47:49 -0600 >Subject: [PATCH] Bug 16520: Fix the Apache Plack config to load the main page > through Plack > >Previously, the ProxyPass would not pass the OPAC/staff homepage to >Plack. This fixes this problem (which is necessary for the other changes >on this bug to show on the main page). > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 91e47f6..816298a 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 95787d8..7685231 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" > >-- >2.7.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 16520
:
51493
|
51494
|
51495
|
51496
|
51576
|
51577
|
51578
|
51579
|
51580
|
56309
|
56310
|
56311
|
56312
|
56397
|
56410
|
56411
|
56412
|
56413
|
57372
|
57383