Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apache ReverseProxy
#1
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
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)