Forum Discussion
Robert_47833
Altostratus
May 12, 2011return and HTTP::redirect usage
Hi,I have a irule like this
if {$uri matches_regex "^/(help/)"}
{
HTTP::redirect ]
pool cjj1
return
}
else{
pool cjj2
}
1:don't kno...
The_Bhattman
Nimbostratus
May 12, 2011Hi Jucao,
Return immediately exits the current EVENT. In your case if there is a match for "cjj1" it exits the event and does not further process the statement. From your posting it appears that you do not need a return statement.
I hope this helps
Bhattman
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