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.
sbrudolf1_14757
May 23, 2014Nimbostratus
I understand the switch, the problem is i can't just a specific URI. The below command won't work at all unless i take out the /webobjects portion. Then it works.
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] starts_with "/helpdesk/webobjects" ) 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