Forum Discussion
P_K
Jul 06, 2017Altostratus
This should work!
when HTTP_REQUEST {
if {
[string tolower [HTTP::uri]] contains "/synchrony" && [TCP::local_port] == 80 }
{ HTTP::redirect "http://[getfield [HTTP::host] ":" 1]:8091[HTTP::uri]"
}
}
This should work!
when HTTP_REQUEST {
if {
[string tolower [HTTP::uri]] contains "/synchrony" && [TCP::local_port] == 80 }
{ HTTP::redirect "http://[getfield [HTTP::host] ":" 1]:8091[HTTP::uri]"
}
}