Forum Discussion
Kirit_Patel_521
Nimbostratus
Jun 19, 2013Need irule for redirect
I need a irule to do redirect for the following. Can this be done with one irule and what will that irule be?
http://connected.mcgraw-hill.com -> http://connected.mheducation.com ...
Kevin_Stewart
Employee
Jun 19, 2013Is it safe to say that the URI never changes? Just the host name? If so, then:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "connected.mcgraw-hill.com" } {
HTTP::redirect "http://connected.mheducation.com[HTTP::uri]"
}
}
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