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
Cirrus
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.
rdayal_280549
Nimbostratus
Jul 20, 2016Thank Yann,
Does this irule sill work if abc.com is on different network (Internet)?
Thank You
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