Forum Discussion
Vim_113268
Nimbostratus
Nov 28, 2009I need Help - Need to create Redirect
I need to Implement an iRule on the ABC VIP so that any attempt to hit
aaa.bbb.com/starss on this VIP will redirect back to / (ex. aaa.bbb.com/ )
I want this to happen f...
The_Bhattman
Nimbostratus
Nov 29, 2009
Here is an example
when HTTP_REQUEST {
if { ([HTTP::host] eq "one.test.com" ) and ([HTTP::uri] eq "/xxx" ) } {
HTTP::redirect "https://one.test.com/"
}
}
If you are trying to redirect HTTPS to another HTTPS please keep inmind that it won't work unless the SSL is terminated at the F5.
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