Forum Discussion
wlopez
Nov 30, 2018Cirrocumulus
You could also do it this way:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.universitysite.com" } {
HTTP::respond 301 Location "new-site.com[HTTP::uri]"
}
}
Just modify the if statement to cover the scenarios you want to perform the redirect on.