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 for both Http and https requests.
please advise ASAP.
Thanks.
- Vim_113268
Nimbostratus
Below is the exact example: - The_Bhattman
Nimbostratus
when HTTP_REQUEST { if { ([HTTP::host] eq "one.test.com" ) and ([HTTP::uri] eq "/xxx" ) } { HTTP::redirect "https://one.test.com/" } }
- Vim_113268
Nimbostratus
BATTMAN - The_Bhattman
Nimbostratus
Yes that would work also. - Vim_113268
Nimbostratus
I am all set. Thank you.
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