Forum Discussion
foubou31_385587
Nimbostratus
Mar 09, 2019iRule - Replace a part of uri
I need to replace part of the URL: ...
at
...
so when the URL is called with / ab_cd / replace it with / ab-cd /
How can I do it ?
Thank you
Dave_McCauley_3
Cirrostratus
Mar 09, 2019when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/ab_cd/" } {
HTTP::uri [string map {"/ab_cd/" "/ab-cd/"} [HTTP::uri]]
}
}
foubou31_385587
Nimbostratus
Mar 09, 2019Thank you ;)
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