Forum Discussion
Thomas_Gobet_91
Cirrostratus
I'm sorry typo mistake due to autocorrect... This is not "to lower" but "tolower".
Sorry.when HTTP_REQUEST {
if {([string tolower [HTTP::uri]] contains "/xyz") and [string tolower [HTTP::host]] equals "abc"}{
HTTP::redirect http://abc:40001;
}
}
siyadh_121603
Aug 14, 2014Nimbostratus
Hi Thomas,
Appreciated your quick reply.
But it is redirecting to https and getting server error 404.