Forum Discussion
Will_12716
Nimbostratus
Jul 17, 2008Site Redirect with Irule
We have a situation that requires us to redirect traffic to a different port than port 80.
For example, we need to take any requests to http://www.mysite.com and redirect to http://www....
Will_12716
Nimbostratus
Jul 18, 2008The port translation was enabled but noticed we did not have the virtual server responding on port 80. I made that change and it worked. Now we are having this issue:
When a client types in http://service.mysite.com, I want to be able to redirect that request to http://service.mysite.com/SHCM/
I have tried this IRULE:
when HTTP_REQUEST {
if {[HTTP::uri] equals {http://service.mysite.com}} {HTTP::uri {http://service.mysite.com/SHCM/}
}
}
Can anyone help with this?
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