Forum Discussion
KJ_50941
Nimbostratus
Mar 06, 2013443 VIP redirect
for https redirect on 443 VIP from / to login.aspx do I need 80 VIP? if I stand up port 80 VIP it works , but that is extra step.
please advise.
Michael_Yates
Nimbostratus
Mar 06, 2013Hi KJ,
You shouldn't. You should be able to use the first example below and maintain your protocol, but if it is not working properly you still have options with the second example
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "/login.aspx"
}
}
when HTTP_REQUEST {
if { not ([HTTP::uri] equals "/") } {
HTTP::redirect "https://[getfield [HTTP::host] ":" 1]/login.aspx"
}
}
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