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 27, 2014Nimbostratus
Sorry for any confusion i may be causing. I am only trying to enter one single URI with subdirectories, or even an exact url.
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] starts_with "/helpdesk/webobjects/Helpdesk.woa" ) 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