Forum Discussion
youssef1
Aug 29, 2018Cumulonimbus
Hi,
can you try this (I dont' think it's necessary to add port in host header...):
When HTTP_REQUEST {
if { [HTTP::host] equals "intfilings.abc.gov" && [HTTP::uri] starts_with "/navigator_icm" } {
HTTP::header replace Host "server1.ct.gov:9081"
}
if { [HTTP::host] equals "intfilings.abc.gov" && [HTTP::uri] starts_with "/EFilingWeb" } {
HTTP::header replace Host "server2.ct.gov:9080"
}
}
So can you try with port in host header an without please