Ken_50869
Aug 14, 2007Nimbostratus
Compress content by IP
Hello,
I've created the following iRULE to compress content based on the client's source IP address. However, as soon as I apply the iRULE to the virtual server, client's are no longer able to reach the application. Can anyone verify that my syntax is correct, or if anything else could be wrong?
Thanks in advance...
when HTTP_RESPONSE {
if {[IP::client_addr] eq "192.168.10.0/255.255.255.0"} {
COMPRESS::enable}
elseif {[IP::client_addr] eq "192.168.20.0/255.255.255.0" } {
COMPRESS::enable}
else {
COMPRESS::disable}
}