Forum Discussion
Mikoto_Misaka_1
Nimbostratus
Feb 28, 2006the capital letter and the small letter
Hello,
I think that the operator "contains" distingushes the capital letter and the small letter.
Could you please tell me how to simply write iRule without distingushing the capital le...
G__Wesley_Rober
Jun 10, 2008Historic F5 Account
By simpler, I mean a rule like this, that disables compression for clients on a local subnet:
rule Intelligent_comression {
when HTTP_REQUEST {
log local0. "in HTTP_REQUEST"
Compression setting in http profile should be set to selective
if {[matchclass [IP::remote_addr] eq $::TrustedNets]} {
log "Client on a local subnet, disabling compression. client IP: [IP::remote_addr]"
COMPRESS::disable
}
else {
log "No Match in local NET List, compressing response to client IP: [IP::remote_addr]"
COMPRESS::enable
}
}
}
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