Forum Discussion
Robb_Holzer_770
Nimbostratus
Aug 09, 2006IRule Redirect Question
I am trying to setup an iRule for 9x that simply reads an HTTP header and then redirects to a new URL....
My rule currently is follows but is not working, suggestions on what I might try? ...
Chad_Roberts_21
Nimbostratus
Aug 16, 2006hoolio's answer is technically accurate--and you may already have put his advice to good, functional use--but for the sake of being thorough, and because I need all the practice I can get, I believe this is the way you would want that iRule of yours to be written:
when HTTP_REQUEST {
if { "[HTTP::host][HTTP::uri]" eq "www.tq3navigant.com/northcentral"} {
HTTP::redirect "http://www.navigant.com/About/Locations/LocationsDetail.aspx?Region=NC&Hemi=West[HTTP::uri]"
}
}
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