Forum Discussion
sbrudolf1_14757
May 22, 2014Nimbostratus
Trouble with Exclusion URI iRule
I am trying to write an iRule that disabled APM if it see's a uri and does not see a session already exists. I have a working iRule of the opposite but i can't seem to get this working properly. Did ...
- May 27, 2014
Your latest iRule contains a capital letter in your match string. It'll never match since you are converting to lower case before comparison.
Kevin_Stewart
May 22, 2014Employee
Try this:
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] starts_with "/uri1" ) and not ( [HTTP::cookie exists MRHSession] ) } {
ACCESS::disable
} else {
ACCESS::enable
return
}
}
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