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 t...
hoolio
Cirrostratus
Jul 30, 2008You can use the ProxyPass iRule (Click here) from the codeshare to proxy one site for another.
Else, as a simpler method, you could rewrite the host using 'HTTP::header replace Host newhost.example.com' and the URI with HTTP::uri "/newuri".
If the application includes absolute references to the requested host or modified URI in response headers or content you'd need to rewrite these using HTTP::header replace Location "http://newlocation.example.com" and a stream profile for the payload. Check this post for more info (Click here).
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
