Replaces im Header für die Loadbalancer BigIP von F5, ein Beispiel :
when HTTP_REQUEST {
switch [HTTP::host] {
"epaperimg.mydnszone.de" {
# HTTP::header replace Host "d1w38ez8et8rs.cloudfront.net"
HTTP::redirect "http://d1w38ez8et8rs.cloudfront.net[HTTP::uri]"
}
"ial.mydnszone.de" {
# HTTP::header replace Host "d1w38ez8et8rs.cloudfront.net"
# HTTP::redirect "http://ial.zgt.de[HTTP::uri]"
HTTP::redirect "http://ialmag.mydnszone.de[HTTP::uri]"
}
"epaperimgtest.mydnszone.de" {
# HTTP::header replace Host "d1w38ez8et8rs.cloudfront.net"
HTTP::redirect "http://d1w38ez8et8rs.cloudfront.net[HTTP::uri]"
}
"ialtest.mydnszone.de" {
# HTTP::header replace Host "d1w38ez8et8rs.cloudfront.net"
HTTP::redirect "http://ial.zgt.de[HTTP::uri]"
}
"www.thueringenkiosk.de" {
HTTP::respond 302 Location "http://www.zgtonline.de/thueringen-kiosk"
}
"www.thueringen-kiosk.de" {
HTTP::respond 302 Location "http://www.zgtonline.de/thueringen-kiosk"
}
"www.xn-thuringen-kiosk-hsb.de" {
HTTP::respond 302 Location "http://www.zgtonline.de/thueringen-kiosk"
}
"www.xn-thuringenkiosk-xob.de" {
HTTP::respond 302 Location "http://www.zgtonline.de/thueringen-kiosk"
}
"www.thueringen-akademie.de" {
# HTTP::respond 302 Location "http://www.zgtonline.de/thueringen-akademie"
HTTP::header replace Host "www.zgtonline.de"
HTTP::uri /thueringen-akademie[HTTP::uri]
pool Pool_Erfurt_EXT_www_zgtonline_de
}
"muss.hier.stehen.de" {
pool Pool_Default
}
}
}