Forum Discussion
MikeStearns_600
Nimbostratus
Jan 29, 2009HELP with a new irule...disable acceleration
Hello. I am looking to create an irule to do the following:
If the request doesn't end with /abc123.html
AND
if the request doesn't begin with /CPOS2
AND
if...
MikeStearns_600
Nimbostratus
Jan 29, 2009I seem to be getting the following error when trying to create the irule above.
01070151:3: Rule [nextapp_going_live] error:
line 2: [parse error: PARSE syntax 98 {syntax error in expression " (not ( [HTTP::uri] ends_with "/abc123.html")) && ( not ( [H...": looking for close parenthesis}] [{ (not ( [HTTP::uri] ends_with "/abc123.html")) && ( not ( [HTTP::uri] begins_with "/CPOS2")) && (not ( [HTTP::uri] begins_with "/NEXTAPP")) }]
Here is the irule again.
when HTTP_REQUEST {
if { (not ( [HTTP::uri] ends_with "/abc123.html")) && ( not ( [HTTP::uri] begins_with "/CPOS2")) && (not ( [HTTP::uri] begins_with "/NEXTAPP")) } {
HTTP::class disable
CACHE::disable
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
