Forum Discussion
O2_Support_6853
Mar 22, 2012Nimbostratus
i-rule for URI re-write
Greetings Fellas!For example :xyz.abc.com.au/subscription-services/*
should resolve to
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-services2.
Any help much appreciated!
Cheers,
- hooleylistCirrostratusHi,
when HTTP_REQUEST { if {[HTTP::path] starts_with "/subscription-services/"}{ HTTP::path [string map {/subscription-services/ /subscription-services2/} [HTTP::path]] } }
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