Forum Discussion
Pawan_Goswami
Nimbostratus
Nov 09, 2017Redirection Help required
The objective is to redirect browsers hitting the
URI https://xxx.net.au to the URI https://xxx.net.au/CHP/Navigator
I tried all the below mentioned three I-rule, but not exactly working ...
JG
Cumulonimbus
Nov 09, 2017If the following does not work:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "xxx.net.au" } {
switch -exact [HTTP::uri] {
"/" {
HTTP::redirect "/CHP/Navigator"
}
"" {
HTTP::redirect "/CHP/Navigator"
}
}
}
}
then you might have a problem with the site https://xxx.net.au/CHP/Navigator itself. Does this URL work when accessed directly?
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
