URL rewriting via forward proxy
Posted
by
Biggroover
on Pro Webmasters
See other posts from Pro Webmasters
or by Biggroover
Published on 2012-09-10T17:08:55Z
Indexed on
2012/09/10
21:50 UTC
Read the original article
Hit count: 237
I have an app that runs inside my firewall and talks out to multiple end points via HTTP/HTTPS on a non-standard port e.g. http://endpoint1.domain.com:7171
, http://endpoint2.domain.com:7171
What I want to do is route these requests through a forward proxy that then rewrites the URL to something like http://allendpoints.domain.com/endpoint1
(port 80 or 443) then on the other end have a reverse proxy that unwinds what I did on the forward proxy to reach the specific endpoints.
The result being that I can route existing app requests through to specific endpoints across the internet without having to change my app software.
My questions are:
- is this even possible?
- is it a good idea, are their better ways to do this?
- Can this be done with IIS and Apache as the proxies?
© Pro Webmasters or respective owner