Forum Discussion
Arulkumar_10681
Nimbostratus
Jul 30, 2010need irule
Hi,
Can anyone help me in writing irule so that i can redirect as below
"http://training.time.com:6000" redirected to http://marketing.time.com:7777/ebs11i.html
Thank you in ...
The_Bhattman
Nimbostratus
Jul 31, 2010Hi Arulkumar,
Assuming that the website ONLY responds on port 6000 then you can write something as simpleas the following
when HTTP_REQUEST {
if { ([HTTP::host] eq "training.time.com") and ([HTTP::uri] eq "/") } {
HTTP::redirect "http://marketing.time.com:7777/ebs11i.html"
}
}
I hope this helps
Bhattman
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