Forum Discussion
DEJ_159363
Cirrus
Hello,
For iRule 3, it is possible your matchclass command may be causing issues. It was deprecated in 10.x. The new command would be 'class match'. I'm unsure about the rest with my first glance.
https://devcentral.f5.com/wiki/iRules.class.ashx
when HTTP_REQUEST {
Check if path is not in whitelist datagroup
if {![class match [string tolower [HTTP::path]] starts_with webservices_allowed_paths]} {
HTTP::redirect https://www.company.com
}
}
What_Lies_Bene1
Apr 24, 2015Cirrostratus
I would think you are correct Dareuja.