Forum Discussion
OKESIMA_271908
Nimbostratus
Jun 17, 2016url redirect
Hello Team, New to F5. I have a challenge here. I have created a VS name easychat.etisalat.com.ng. what i want to achieve is when users tried to access the url www.easychat.etisalat.com.ng they shoul...
tatmotiv
Cirrostratus
Jun 17, 2016You can do that with an iRule like that:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.easychat.etisalat.com.ng" } {
HTTP::redirect "http://www.etisalat.com.ng"
}
}
Alternatively, depending on your version, you could also deploy a local traffic policy. See here and here for details.
HTH Martin
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