winifred_corbet
Jan 24, 2011Nimbostratus
Replace HOST not working
We have a list of URIs that we added to a data group
For only those URIs in the datagroup, we need to change the Hostname, keeping the URI
This irule attempt is not working. Host name is not changing. What are we missing?
when HTTP_REQUEST {
if { [matchclass [string tolower [HTTP::uri]] starts_with $::abunchofURLs] } {
HTTP::header replace Host "www.brand-new-name.com"
}
}