Forum Discussion
Jean_Mamène
Cirrus
May 29, 2019Irule redirect all paths /* of my domain
Hello, I will need to set up a redirection for all the paths of my domain name. Example : https://test01.test.com/* => https://test02.test.com Thank you in advance for your feedback. Reg...
Lee_Sutcliffe
Nacreous
May 29, 2019This is an simple one and has been asked many times on DC, you'll probably find the answer you're looking for by searching the site.
Eitherway, you can use simple iRule like this:
when HTTP_REQUEST {
if {[HTTP::host] equals "test01.test.com"} {
HTTP::redirect https://test02.test.com[HTTP::uri]
}
}Otherwise, you can use an Local Traffic Policy, which are better suited for these simple requirements
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