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
Vijay_E
Cirrus
Jun 23, 2016Try:
when HTTP_REQUEST {
if { ( [HTTP::host] eq "10.10.10.10" ) && ( [HTTP::uri] eq "/" ) } {
HTTP::respond 301 Location "http://10.10.10.10/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