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...
Colin_Walker_12
Jan 29, 2009Historic F5 Account
When you say "disable acceleration" what exactly are you looking to do?
Regardless, your code is close but you were missing a few closing parens. This should work a little better if disabling the class and the cache is really what you want to do.
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
}
}
Colin
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
