Forum Discussion
Misty_Spillers_
Nimbostratus
May 19, 2014Can I have a iRule do 2 actions when it matches a uri?
Can I have a iRule do 2 actions when it matches a uri? Everything I try seems to end up in a loop.
This is the logic I was looking for:
when HTTP_REQUEST {
if { [string tolower [HTTP::...
Kevin_Stewart
Employee
May 19, 2014Or perhaps this:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "/app1" } {
HTTP::redirect "http://[HTTP::host]/app1/app/login.aspx"
} elseif { [HTTP::uri] starts_with "/app1/" } {
pool app1
} else {
pool everythingelse
}
}
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