Forum Discussion
ivanchen0503_36
Nimbostratus
Mar 29, 2019iRule how to use rewrite by same token ?
Im not sure about F5 iRule can or not solve this solution , i need rewrite
to , only rewrite "iphone.aspx" to "mobile" this key point and the token number need same .. anyone can help this ? thanks...
Samir_Jha_52506
Noctilucent
Mar 29, 2019Yeah you can do with irule. Try below..
when HTTP_REQUEST {
set id [URI::query [HTTP::uri] token]
if { [HTTP::uri] starts_with "/iphone.aspx" } {
HTTP::redirect "https://www.abc.com/mobile?token=$id"
}
}
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
