Forum Discussion
Rahim_Abdul_re1
Nimbostratus
Jun 08, 2017URL Rewrite without changing the URL
We implemented the URL Rewrite Irule. When we access the https://2.2.2.2/T001/mds change the URL on internet explorer address bar to http://1.1.1.1/insight. I don't want to change URL. User will see ...
Ilian_Ivanov
Nimbostratus
Jun 08, 2017Hi,
Try this solution:
change your iRule to:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/T001/mds" } {
SSL::disable serverside
pool CMD
}
else {
pool FCUB-UAT-BCRS
}
}
Create Rewrite profile:
- Navigate to “Local Traffic ›› Profiles : Services : Rewrite”
- Click “Create New Profile”
- Type name for your profile and select "rewrite-uri-translation" for Parent profile.
- Navigate to “URI Rules”
- Click on “Add” and for “Client URI” type “/T001/mds” and for “Server URI” type “http://1.1.1.1/insight/”
- "Rule Type" should be "Both"
- Click “OK”
- Assign the profile to the VIP
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
