Forum Discussion
Stewart
Apr 01, 2015Altostratus
Hi Krishna,
This might work for you.
when HTTP_REQUEST {
set http_host [string tolower [HTTP::host]]
set uri [HTTP::uri]
if { (($http_host equals "xxx.myhost.com") and ($uri equals "/search?profile=NAP")) }{
HTTP::redirect "http://xxx.myhost.com/search?profile=LL"
return }
elseif { (($http_host equals "yyy.myhost.com") and ($uri equals "/search?profile=NAP"))}{
HTTP::redirect "http://xxx.myhost.com/search?profile=LL"
return }
}