Forum Discussion
N__197982
Nimbostratus
Sep 19, 2015need some help on a host rewrite iRule.
Folks,
We have a VIP "xyz.mycompany.com" configured to listen on https. The SSL profile configured also has the certificate for hostname "xyz.mycompany.com".
However few folks still access ...
cjunior
Nacreous
Sep 21, 2015Hi, I think is better redirect the client to the new host name, but that does not solve the certificate error on the first access to the old host.
Change the content header in the http request will only take effect to the server side. So, why do you not create a VS:80 and also redirects to? I think most people first goes to http instead of https. for both HTTP and HTTPS
when HTTP_REQUEST {
if { [HTTP::host] ne "xyz.mycompany.com" } {
HTTP::redirect "https://xyz.mycompany.com[HTTP::uri]"
}
}
Hope it helps.
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