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.