Forum Discussion
ISA-like URI proxy
As we are preparing to deploy LTM/APM in our environment, and moving things from our ISA server to the F5 appliance, I'm running into a difficulty trying to get something to work.
Currently, within the ISA, we have a site set up to user a specific URI to determine the route. For example, http://example.com/App1 will connect on the back end to the server app1.domain.local. With the ISA, the /App1/ seems to persist as expected throughout the session, even though on the back end I know that the connection would be going to app1.domain.local/{RestOfUri} rather than app1.domain.local/App1/{RestOfUri}.
What I'm trying to do with the F5 is get that same type of experience by using part of the URI as a deciding factor for which pool to send the connection to. The problem is that I can do that the first time and change the HTTP::path to remove the /App1 from the url so it will hit the back end server properly, but once the response comes back, some of its links (e.g. "/{link}") will now be associated with the host root rather than root plus uri prefix (e.g. example.com/{link} vs example.com/App1/{link}). In this instance, we are not using the APM because one of the sites I'm trying to get working is part of our login process, and is non-authenticated.
I've tried a number of different ideas through iRules, but I can't seem to find a way that will work consistently and give me the same experience I've had with the ISA.
Any help would be greatly appreciated. Thanks, Michael
1 Reply
- John_Alam_45640Historic F5 Account
The proxypass iRule allows you to translate the URI and chose a pool at the same time. There is a special iRule which works with the APM. Here it is:
https://devcentral.f5.com/wiki/iRules.ProxyPass_for_use_with_APM.ashx
If you are on 11.4 you can use the URI translation under Rewrite profile. But you still need to make a pool choice.
Another solution maybe the portal mode under APM.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
