Forum Discussion
Faruk_AYDIN
Feb 27, 2019Nimbostratus
when HTTP_REQUEST {
if { [getfield [HTTP::host] ":" 1] eq "test.abc.com" }
{
if {([string tolower [HTTP::uri]] starts_with "/testing") || [string tolower [HTTP::uri]] eq "/homepage" }{
HTTP::redirect https://test.abc.com/homepage/login
return
} else {
pool "poolB"
}
}