Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Routing to internal VPN/Proxy adress possible ?
#1
Hi @ all ...  Blush


The Problem:
We've got an internal Company Site which runs on server in "House A". All other clients (House B,C,D) connecting via VPN to the server. So, people who work in "House A" will reach the website with: "http://192.168..../siteblahblah" , all other VPN-Clients (which have 10.0.0.x adresses given) need to type "http://10.0.0.x/siteblahblah". 

Base path in getsimple is not variable, so its stuck on ONE siteurl ( ex.: "http://192.168..../siteblahblah".) The problem is that all VPN-Clients will only see a broken website/theme. If I change the siteurl to "http://10.0.0.x/siteblahblah", the people on the local network (without VPN) will have this crashed side. All things on theme are handeld with the "get_site_url()" and "get_theme_url()" variable, which works only for one side.. local clients OR vpn clients, but not both.... I also tried to set the siteurl to "./siteblahblah", but didn't worked at all. 

Question:
Is there a way to force the variables (basepath etc.) to switch if a vpn/proxy adress is detected on clientside, client-browser ?
Maybe via .htaccess ? Or setting the basepath only to "./" instead of any real path ? 

Im lost with this problem  Sad

PS: Nope, I can't change any settings on the vpn routing and/or the vpn server.
Reply


Messages In This Thread
Routing to internal VPN/Proxy adress possible ? - by itsjustme - 2016-06-02, 21:01:46



Users browsing this thread: 1 Guest(s)