Forum Discussion
O2_Support_6853
Nimbostratus
Mar 21, 2012i-rule for URI re-write
Greetings Fellas!
I`m new to world of i-rules.
I`m required urgent help from you champions on writing an i-rule to replace \subscription-services from URI with \subscription-servic...
hoolio
Cirrostratus
Mar 22, 2012Hi,
Can you try this?
when HTTP_REQUEST {
if {[HTTP::path] starts_with "/subscription-services/"}{
HTTP::path [string map {/subscription-services/ /subscription-services2/} [HTTP::path]]
}
}
Aaron
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