Forum Discussion
slackwaresuppor
Nimbostratus
May 21, 2008https redirection
ok guys.. i have my http-https setup.. but this is what i want to do
if someone goes to https://domain.com they get the site cert error
i want : https://domain.com red...
Robert_Sutcliff
Nimbostratus
May 21, 2008Hi,
You can match on the Host header.
For example you redirect using the same uri, but on the correct hostname
when HTTP_REQUEST {
if { [HTTP::host] ne "www.domain.com" } {
HTTP::redirect "https://www.domain.com[HTTP::uri]"
}
}
Users will still get a message about mis-matched certificates before the redirect can take effect (unless you have a wildcard certificate registered for *domain.com).
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
