The default redirect rules that launch pages under plack do not cover opacmain.pl. This is bad, because system preferences don't update on opacmain.pl unless memcache is restarted.
Created attachment 53620 [details] [review] Bug 16918: Serve OPAC/intranet homepage via Plack 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.
Created attachment 53621 [details] [review] Bug 16918: Serve OPAC/intranet homepage via Plack 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.
Created attachment 55172 [details] [review] Bug 16918: Serve OPAC/intranet homepage via Plack 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>
Should not we add the ProxyPassReverse line for index.html as well?
Created attachment 55361 [details] [review] Bug 16918 (QA Followup) - Add reverse proxy and fix intranet vs opac typo
Created attachment 55397 [details] [review] Bug 16918: Serve OPAC/intranet homepage via Plack 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>
Created attachment 55398 [details] [review] Bug 16918 (QA Followup) - Add reverse proxy and fix intranet vs opac typo Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Amended the patch to adjust a typo: ndex should be index.
(In reply to Jonathan Druart from comment #4) > Should not we add the ProxyPassReverse line for index.html as well? For consistency, we should. But another question is: how would you test it?
Pushed to master for 16.11,t hanks Jesse, Nick!