stevenyvr987 / overdrive-evergreen-opac

Automatically exported from code.google.com/p/overdrive-evergreen-opac
0 stars 0 forks source link

Write the general configuration clause for web server to handle reverse proxy of Overdrive API calls #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, a simple set of directives is being used to do reverse proxy for a 
single library. The set needs to be generalized for all libraries, and done in 
a way to be not repetitious.

Original issue reported on code.google.com by steven3...@gmail.com on 12 Jun 2014 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by steven3...@gmail.com on 13 Jun 2014 at 5:50

GoogleCodeExporter commented 9 years ago
First problem: Currently, mods-available/proxy_http.conf is defined, which is 
valid across all domains. But sites_available/500-BW.conf contains a 
'SSLProxyEngine On' in <VirtualHost *.443> clause, which is domain specific.

If SSLProxyEngine On is moved to the proxy_http.conf, then all domains work, 
eg, https://br.testing1.sitka.bclibraries.ca/. 

Original comment by steven3...@gmail.com on 9 Jul 2014 at 6:49

GoogleCodeExporter commented 9 years ago

Original comment by steven3...@gmail.com on 9 Jul 2014 at 6:49

GoogleCodeExporter commented 9 years ago
Second problem: only https:// will work, but http:// should work too.

Original comment by steven3...@gmail.com on 9 Jul 2014 at 7:55

GoogleCodeExporter commented 9 years ago
It seems to be working with http:// now. I removed the rewrite from http to 
https in the proxy function.

Original comment by steven3...@gmail.com on 9 Jul 2014 at 9:54