Forum Discussion
f5 irule - alternative for default required
but when a request for /va is being invoked it initially goes to the right page :bi-security login then immediately another redirection happens and then /analytics is being invoked and that page appears whereas requested was /va in browser.
can you try to change the switch's default to root?
from
default {
HTTP::redirect https://[HTTP::host]/analytics/
}
to
"/" {
HTTP::redirect https://[HTTP::host]/analytics/
}
your provided solution worked for me as well when I removed default code with : if { [HTTP::path] equals "/" } { HTTP::redirect "/analytics/" } also worked. it worked for me but I could not get a clue why the default was the problem : if you have that understanding,request you to explain.
Recent Discussions
Related Content
* 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