Forum Discussion
real_ever_21524
Nimbostratus
Nov 18, 2016HTTPS URL REDIRECT
Hello! Can i do redirect to specifield url via HTTPS(SSL Cleint Profile on Virtual Server BIG IP)? Example:
when HTTP_REQUEST {
if { [HTTP::host] eq "; } {
HTTP::redirect https://abc.c...
Nov 18, 2016
This should work, however the HTTP::host will not contain 'https://' only the hostname/ip address and port number if it is a non-standard port.
when HTTP_REQUEST {
if { [HTTP::host] equals"www.xyz.com"} {
HTTP::redirect "http://www.abc.com/index.html"
}
}
See this link for more information:
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