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::uri]] starts_with "/app1" } {
HTTP::redirect "http://www.company.com/app1/app/login.aspx") and (pool app1) really all I want to add on is /app/login.aspx
} else {
pool everythingelse
}}
Thanks in advance!
No RepliesBe the first to reply
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