Forum Discussion
VJ_96387
Nimbostratus
Feb 22, 2010URL REDIRECTION!!!
Hi there,
I am near to F5 irules and need your help regarding the below requirement.
I need to redirect the
http://abc-a.xyz.com (accessed via internet)
https://abc-a.xyz.com (accessed via internet)
http://abc-a.xyz.corp (accessed internally)
https://abc-a.xyz.corp (accessed internally)
to be redirected to
https://abc-a-xyz.corp/irj/portal
The VIP is on a single host 10.10.10.10 and runs service ports on 80 and 443.
Please help me on howto accomplish this via Irules?
Awaiting your response.
TIA
Regards,
VJ
- hoolio
Cirrostratus
Hi VJ,when HTTP_REQUEST { Check requested URI if {[HTTP::uri] eq "/"}{ Redirect client HTTP::redirect "https://abc-a-xyz.corp/irj/portal" } }
- VJ_96387
Nimbostratus
Aaron, - hoolio
Cirrostratus
That's correct. The rule can be applied to all VIPs where you want to redirect the client from / to the URL. - VJ_96387
Nimbostratus
Thanks Aaron... IT worked!!! - VJ_96387
Nimbostratus
Thanks Aaron... IT worked!!!
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