Forum Discussion
KJ_50941
Aug 06, 2012Nimbostratus
HTTPS to HTTP redirect
I have two VIPs , one is http and another https, there is going to be a Maintanance on webserer, like to redirect to maintanance page , I did a test and was able to redirect from http to http, however https to http failed, I am doing this with temp VIP so no pool is assigned to 443_VS. here what I have for irule on 443_VS.
when HTTP_REQUEST {
HTTP::redirect ]
}
I also try this it didn't work.
when HTTP_REQUEST
{ if { ([HTTP::uri] equals "/")}{ HTTP::redirect "http://www.example.com/index.htm" } }
the page I like to redirect from https to http is:http://www.example.com/index.htm
please help.
- KJ_50941Nimbostratus
IT is working now.
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