Forum Discussion
Harry1
Nimbostratus
Jun 22, 2016redirect http request on another page but backend /VS is same
Hi All,
I simply want to redirect any http request for example "http://10.10.10.10 " to http://10.10.10.10/test/test2/
regards
prak
Yann_Desmarest
Cirrus
Jun 22, 2016Hi,
You can try with the following example :
when HTTP_REQUEST {
if { [HTTP::path] eq "/" } {
HTTP::redirect "http://[HTTP::host]/test/test2/"
}
}
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