Forum Discussion
iRule rewrite | URL hiding
Different Protocol ( https vs. http)
this is done on the 1st f5 by assigning clientssl profile to virtual server. clientside will be https but serverside will be http.
Different Hostname ( www.mysite.com vs. news.bizsite.com)
you can change hostname using HTTP::header replace on either the 1st f5 or 2nd f5.
HTTP::header
https://devcentral.f5.com/wiki/irules.http__header.ashx
Different Port : 443 vs. 8080
this is translated by virtual server and pool configuration.
everything after the "/help/site1" is passed to the the target webserver.
similar to hostname, uri can be changed using HTTP::uri.
HTTP::uri
https://devcentral.f5.com/wiki/irules.http__uri.ashx
Users\Internet browser should only see "https://www.mysite.com/help/site1/..." and NOT the HTTP://news.bizsite.com:8080/ehelp/microsites
address in browser won't be changed unless there is redirection.
- ERLomboy_27803Feb 08, 2014
Nimbostratus
Hi Nitass, Thanks for the assistance. Would very much appreciate if you can provide the iRule syntax since I have a very little room for error as this will be done in Production environment. Thanks, Edward
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
