Forum Discussion
MOHIT_125417
Altostratus
Apr 15, 2015How to Implement 2 Way SSL in F5 LTM
Hi Experts,
I have been given a task to implement 2 WAY SSL for one of the VIP.
Please guide me how to proceed on this in detail.
Joe_Wojcik
Employee
Nov 19, 2007The COMPRESS::disable in the first rule won't work without the selective compression profile, which is why you're seeing all of the files compressed. It's listed as only working with that profile selected on the wiki
http://devcentral.f5.com/wiki/default.aspx/iRules/COMPRESS__disable.html
So I would think that the best bet would be to try and use selective compression and enabling compression for everything except the particular file you don't want compressed.
I would maybe try something like this
rule salvo_selective_compress_enable {
when HTTP_REQUEST {
if { ([HTTP::host] eq "1.1.1.1") and ([HTTP::uri] eq "/salvo/1.js") } {
log local0. "compression_rule_disable"
COMPRESS::disable
}
else {
COMPRESS::enable
}
}
}