Forum Discussion
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...
nitass
Dec 30, 2011Employee
is this correct?
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if {not([HTTP::uri] equals "/cpt/cptworkflowservice/")} {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects