Forum Discussion
mikey_webb
Cirrus
Mar 29, 2021irule to redirect uri - help
i have a redirect based on country which works www.abc.com if in uk redirects to uk.abc.com I need to redirect but also to retain a catalogue number so for example www.abc.com/catalogue/book/3...
Dario_Garrido
Noctilucent
Mar 29, 2021Hello Mikey.
Just try with this
set new_uri [string map {"/book/catalogue/" "/catalogue/book/"} [HTTP::uri]]
HTTP::redirect "https://uk.abc.com$new_uri"
Regards,
Dario.
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