Forum Discussion
kris_52344
Nimbostratus
Aug 13, 2013Need help on uri redirection i-rule
We configure below i-Rule
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/useradmin") or ([HTTP::uri] starts_with "/sld") or ([HTTP::uri] starts_with "/nwa") or ([HTTP::uri] starts_with "/ind...
Kevin_Stewart
Employee
Aug 13, 2013I would first highly recommend throwing all of those URIs into a data group. So if you did that, you might try something like this:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/irj/go/km/docs/documents/AxisBank" } {
return
} elseif { [class match [string tolower [HTTP::uri]] starts_with my_uri_dg] } {
HTTP::redirect "https://straight2axis.axisbank.co.in/irj/portal"
}
}
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