Mary_G_147416
Aug 03, 2017Nimbostratus
http to https redirect irule with an exception
I'm tasked with changing a http redirect irule to add an exception, if the url includes a certain word "investor-relations", then do not redierct to https, for everything else, redirect to https. ...
- Aug 04, 2017
The "!" (not) operation needs to negate the statement "uri equals something". Put the statement in parentheses with the "!" outside as follows: { !([HTTP::uri] equals "/about-*****/investor-relations") }
Also, try contains "investor-relations"
OR
matches_glob "/about-*/investor-relations"
"equals" expects the literal "*" character