Forum Discussion
paulpatriot_129
Nimbostratus
Nov 21, 2014new to irules and need help with redirect
I need a simple irule to redirect a url and need help? from:https://abcd.com/test/peopleinfo.html to https://abcd.com/prod/usersinfo.html
1 Reply
- Stefan_Klotz
Cumulonimbus
Hi Paul,
try something like this:
when HTTP_REQUEST { if { [HTTP::uri] eq "/test/peopleinfo.html" } { HTTP::redirect "https://[HTTP::host]/prod/usersinfo.html" } }Hope that helps.
Ciao Stefan 🙂
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