Forum Discussion
ProxyPass Question
I had a request from our dev team to have the F5 do something with the ProxyPass iRule. I've implemented the following scenario (QA test environment):
User types:
User sees in browser:
User is actually hitting (URL hidden):
This part works fine but after this is where I have a problem. The page has 3 buttons, each redirects the user to another page. (302) After this redirect, the user sees the actual URL in their browser instead of the proxy URL. So they see this:
or or
But what they should see is this:
or or
What I need to know is how can I get PoxyPass to catch these redirects and keep the actual URL hidden while still redirecting to the new page?
What the dev team is trying to get to is a point where they present a URL to the customers that will never change and will mask whatever environment is actually behind it. The end result of all of this work will be something like this:
User types: http://www.test.com/replace
User sees: http://www.test.com/replace/app/page1.aspx
User is actually hitting: http://www.bogus.com/app/page1.aspx
or
User types: http://www.test.com/renew
User sees: http://www.test.com/renew/app2/index/index.html
User is actually hitting: http://www.notreal.com/app2/index/index.html
I'll need to keep any redirects hidden here as well because the users cannot see the backend URL. I've tried enabling the stream profile but that doesn't seem to make a difference.
Any ideas?
Thanks.
- What_Lies_Bene1CirrostratusI'd suggest it would be easier to not use the redirects in the application as these are effectively impossible to mask; if you rewrite them, the client browser obviously won't go to the right place. Can they not be replaced with relative links?
- Mike_Marvel_629Nimbostratus
I know this is more of a fire drill than anything... in the end, they need to fix the app but I had to go through it first.
If anybody comes up with anything, let me know.
- What_Lies_Bene1CirrostratusDo the two (or more) different domains names resolve to the same IP and Virtual Server?
- Mike_Marvel_629NimbostratusYes, for this QA exercise everything is on the same VS. I cannot say the same in the future.
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