Forum Discussion
Poonam_Dronamra
Nimbostratus
Dec 06, 2006Irule Redirect Issue
I am trying to redirect the host portion to another URL
http://2007pece.mpiweb.org redirected to
http://www.mpiweb.org/cms/mpiweb/pece2007/pecetemplate.aspx?id=7390
and http:...
Poonam_Dronamra
Nimbostratus
Dec 06, 2006I have also tried the following with no positive results.
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
if {$host contains "2007pece"} {
HTTP::redirect "http://www.mpiweb.org/cms/mpiweb/pece2007/pecetemplate.aspx?id=7390"
} elseif {$host contains "2007cmme"} {
HTTP::redirect "http://www.mpiweb.org/cms/mpiweb/cmme2007/cmmetemplate.aspx?id=7432"
}
}
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