ShawnO_111386
Dec 30, 2011Nimbostratus
SSL Redirect - with one URI exception
I'm trying to create a ssl redirect that will forward all port 80 requests to 443 but want one URI excluded from doing so. I've created the following but my iRule skills aren't sharp enough to figure out what's missing.
when HTTP_REQUEST { if {[HTTP::uri] eq "/cpt/cptworkflowservice/" } { switch -glob [string tolower [HTTP::uri]] { { HTTP::redirect "https://[HTTP::host][HTTP::uri]" } } } }