Forum Discussion
Brian_Moore_603
Nimbostratus
Jul 28, 2008iRule Redirect and then a Rewrite back to client
Is there any known way to do a iRule redirect (80 to 443), then once all that has been done on the way back to the client present a new URL... for example, client goes to http://www.abc.com, get to the f5 an iRule happens that takes them to https, which in this case is a VIP, the VIP makes the load balance call and on the way back to the client another iRule happens that does some sort of rewrite for the URL back to the client.
I have the HTTP to HTTPS iRule figured out what I can't seem to do is the back to the client part.
I am sure that someone has already been down this road so forgive me upfront for asking folks to repeat... any help would be very appreciated.
BMoore
- hoolio
Cirrostratus
Hi, - Brian_Moore_603
Nimbostratus
So in this case let me try to explain it this way... The client goes to http:\\www.abc.com, comes into the f5 we do a redirect to https and at the sametime we send it to a different URL in this case https:\\www.xyz.com/domainname=abc (we are doing this with an iRule as well. So when the response goes back to the client they will see https:\\www.xyz.com/domainname=abc we would rather have the address bar at the client show something like http:\\www.abc.com, think of it as hiding the stuff going on in the background (the Wizard in The Wizard Of OZ comes to mind).... - hoolio
Cirrostratus
You can use the ProxyPass iRule (Click here) from the codeshare to proxy one site for another.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects