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...
Brad_Parker
Cirrus
Jul 19, 2014You are looking for a rewrite, not redirection. Try something like this.
when HTTP_REQUEST {
set http_host [string tolower [HTTP::host]]
switch $http_host {
"abc.com" {
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