Forum Discussion
P_K
Sep 27, 2017Altostratus
Did you try replacing the hostname in the header like below ??
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]] eq "oldjunk.com") and ([string tolower [HTTP::uri]] starts_with "/cat") } {
HTTP::header replace Host "newupdatedsite.com"
}
}