Forum Discussion
Dave_McCauley_3
Cirrostratus
Add the URI to the redirect:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.xyz" and [string tolower [HTTP::uri]] starts with "/example" } {
HTTP::respond 301 noserver Location "https://abc.external.xyz[HTTP::uri]"
}
}
JonathanW_38552
Mar 12, 2019Nimbostratus
Thank you Dave for your response. It still gives me the same 404 error with both URL's in the address bar.
Jonathan