Forum Discussion
Heidi_35827
Nimbostratus
Nov 08, 2011iRule for HTTP redirect from retired URL to new URL
I'm new to iRules and could use some help. I think I have a pretty basic question but I'm not finding the answer after a few searches in DevCentral.
Here is what I'm trying to do....we ha...
Ashish_Ram_Tak1
Nimbostratus
Jun 19, 2013Dear Team,
I require one redirection rule for below requirement.
1) http://example.in
2) http://www.example.in
3) https://www.example.in
to http://home.example.co.in
i have below iRule
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] contains "example.in" } {
HTTP::redirect "http://home.example.co.in"
}
}
will it work, or do have to made any changes in it.
Ashish Takawale.
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