Forum Discussion
ramesh_110176
Nimbostratus
Jan 08, 2009Need a Simple iRule
HI
I am new to iRules and have a need to check the content of a cookied, if it matches then I need to send to a pool if not re-direct it to a sorry page. Below is what I have:
...
ramesh_110176
Nimbostratus
Jan 08, 2009Hi
To clarify:
when HTTP_REQUEST {
if { [HTTP::cookie contains "abcdefgh"] log local0.}
{
pool test
}
else { [HTTP::redirect http:\\sorry.x.y]}
}
Is this correct?
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
