Forum Discussion
oguzy_191375
Nimbostratus
Hi,
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc-test-domain.com" } {
HTTP::respond 301 "Location" "http://dc-abc-test-domain1.com"
}
}
Abhijith_Subban
Mar 19, 2018Nimbostratus
If, the listening and responding port is 8080 then during http response header. Can this be done :
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc-test-domain.com" } { HTTP::respond 301 "Location" "[http://dc-test-domain1.com:8080 :8080"](http://dc-test-domain1.com:8080 :8080); } }