Forum Discussion
Snl
Feb 28, 2017Cirrostratus
hope this help
Code
when HTTP_REQUEST { if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://[HTTP::host]/support" } pool Poolname }
or
Code
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com" } { if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://[HTTP::host]/support" } pool Poolname } }