Forum Discussion
rdayal_280549
Nimbostratus
Jul 20, 2016HTTP/HTTPS redirect
Hi,
Is it possible to redirect xyz.com (Public facing URL, hosted in our DC) to redirect to abc.com (hosted at client DC)? Currently we are running on LTM Version 11.6.0.
Any help would be...
Yann_Desmarest_
Nacreous
Jul 20, 2016Hi,
You can use the following irule :
when HTTP_REQUEST {
if { [HTTP::host] eq "xyz.com" } {
HTTP::respond 302 Location "http://abc.com[HTTP::uri]" Connection Close
}
}
You can also use LTM policies instead of irules. It does works for both irule and LTM policy if you have a Standard Virtual Server with http profile associated.
If you have an https website, you need to offload SSL on the Virtual Server by adding a clientssl profile.
boneyard
MVP
Jul 20, 2016it doesn't matter where it is, it is just being send to the client as text, as long as the client can resolve it with DNS it will work.
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