paulguo_152257
Dec 02, 2015Nimbostratus
Irule exclude url and redirect problem
Origianal Irule as below will filter "/support" string, I want add another one but looks like it's not working. I appreciate if anyone can help :)
when HTTP_REQUEST { if { not ([string tolower [HTTP::uri]] starts_with "/support") } { HTTP::respond 301 Location "http://www.test.com" } }
I changed as below:
when HTTP_REQUEST { if { not ([string tolower [HTTP::uri]] starts_with "/support") or not ([string tolower [HTTP::path]] equals "/about-uss/sage-trustwave-pci-compliance" ) } { HTTP::respond 301 Location "http://www.test.com" } }