SIP
Apache ReverseProxy - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2)
+--- Thread: Apache ReverseProxy (/showthread.php?tid=45)



Apache ReverseProxy - schs - 2016 Jul 21

Hi
I tried to configure a reverse Proxy, so that we can controll sip from our webpages.
Our Webserver run Debian Jessie with apache 2.4

On the server side the configuration look like this:

 ProxyPass /ospi/test/ http://172.33.81.4/
 ProxyPassReverse /ospi/test http://172.33.81.4/

<location /ospi/test/>
ProxyPassReverseCookieDomain 172.33.81.4 domain
RequestHeader set X-SCRIPT-NAME /ospi/test
RequestHeader set X-SCHEME https
RequestHeader set X-Forwarded-Proto "https"
</location>

I can only browse the start-side. Images, javascript, menues are not working and linked to /here - not to /ospi/test/ ....

I don't know if this is an apache problem or a problem with the ReverseProxy.py

Can anyone help me?
Thank you

Heino


RE: Apache ReverseProxy - dan - 2016 Aug 12

Hi Heino,

I am guessing you have already seen the documentation for reverse proxy on the SIP wiki.
https://github.com/Dan-in-CA/SIP/wiki/Reverse-proxy

That code was contributed by Christopher Bright. You might email a question to him from his GitHub repo:
https://github.com/cbright

Dan