Forum Discussion
user1115_113077
Jun 25, 2011Nimbostratus
Help with Cookie Insertion
Hello,
Currently we're using the following on a vs,
when HTTP_REQUEST {
if { [HTTP:uri] starts_with "/clasee*"} {
pool class} ...
Hi User 1115,
I think the issue might be in the logic of what are yo trying to do.
According to your iRule the logic works like this:
If client ip matches the class_ip datagroup, apply the Cookie Insert and then EXIT the iRule. (NOTE: It will not evaluate the rest of the iRule)
If client ip does not match the class_ip datagroup, and if the uri starts with "/clasee" then go to pool called class and EXIT the iRule. (NOTE: No Cookie Insert will be invoked)
If client ip does not match and your URI does not start with /clasee then go to pool main and EXIT the iRule. (NOTE: No cookie Insert will be invoked)
Is this logic you want?.
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