Forum Discussion
nathe
Jul 17, 2018Cirrocumulus
Would this irule help?
when HTTP_REQUEST {
if { ( [HTTP::host] eq "37.123.55.109" ) and
( [HTTP::uri] starts_with "/api/example" ) } {
HTTP::respond 301 Location "https://test.f5.com[HTTP::uri]"
}
}
Not got my lab fired up so would need to verify syntax and test.
Hope this helps,
N