Forum Discussion
mikey_webb
Cirrus
Nov 25, 2014irule help
i have the below irule which will redirect to SSL, the question is how can i change so that http://www.mysite.co.uk/ does not get redirected but remains as http - thanks
when HTTP_REQUEST {
...
VernonWells
Employee
Nov 28, 2014when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"www.mysite.co.uk" { }
"www*" {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
default {
HTTP::redirect "[HTTP::host][HTTP::uri]"
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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