Forum Discussion
senthil147_1421
Nimbostratus
Jul 18, 2014IRULE HTTP Redirection
Hi Team,
I need to configure URI redirection as below . Can you Please help me to create IRULE Please
http://abc.com/xxx/* to http://xyz.com/xxx/* . Here * should have same value even aft...
Eugene_Reznik_1
Nimbostratus
Jul 21, 2014Try something like this.
when HTTP_REQUEST {
set http_host [string tolower [HTTP::host]]
if { [string tolower [HTTP::host]] equals "abc.com" }{
switch -glob $uri {
"xxx" { HTTP::host xyz.com
return }
}
}
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