Forum Discussion
gajanan_01_1523
Nimbostratus
Feb 21, 2015https to URI redirect
I want to redirect http and https://abcd.com to https://abcd.com/test1app how to achieve this
2 Replies
The easiest way would be to do something like the following, and then apply it to your VS.
when HTTP_REQUEST { if {[HTTP::uri] equals "/"} { HTTP::redirect "https://abcd.com/test1app" } }- Arie
Altostratus
Keep in mind that there are probably multiple ways to access the root of the site in addition to
, like/
and/index.php
. Often you'll want to cover those options as well.default.aspx
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