Forum Discussion
Kevin_Stewart
Apr 10, 2013Employee
Try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "www.old.com" } {
HTTP::respond 301 Location "http://new.com[HTTP::uri]"
}
}