Forum Discussion
Vinny_95927
Nimbostratus
Oct 21, 2011Need Help With Redirection
Hi,
I need an iRule for a redirection like this bellow:
https://domain.com to https://domain.com/Application
How can I do that ?
Thanks in Advance!
2 Replies
- HTTP::redirect "https://[HTTP::host]/Application"
This would work fine in the HTTP_REQUEST event.
Regards,
TRX - Michael_Yates
Nimbostratus
Hi Vinny,
You could also do something like this:when HTTP_REQUEST { if { [HTTP::path] equals "/" } { HTTP::redirect "/somewhere/else.html" } }
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