Forum Discussion
VijayKumarBC_25
Nimbostratus
May 20, 2016HTTPS to HTTP Redirection changes required
Below redirection iRule is working for - https://www.my.com
But Not working for https://my.com
Please suggest if there are any changes required
when HTTP_REQUEST {
set HOST [string tolow...
VijayKumarBC_25
Nimbostratus
May 20, 2016when HTTP_REQUEST { set HOST [string tolower [HTTP::host]] set URI [string tolower [HTTP::uri]]
Start switch host
switch -glob $HOST {
"my.it" - "www.my.it"
{
HTTP::respond 301 Location "http://www.my.it"
}
}
}
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