Forum Discussion
Christian_Greyl
Dec 07, 2015Nimbostratus
Thanks you for the reply 😄 . Shortly after posting this I got it sorted by doing the following.
when HTTP_REQUEST {
if { [HTTP::host] equals "smartit.xyz.com" and [HTTP::uri] equals "/" }{
HTTP::redirect "[https://smartit.xyz.com/ux/smart-it//](https://smartit.xyz.com/ux/smart-it//)"
}
if { [HTTP::host] equals "myit.xyz.com" and [HTTP::uri] equals "/" } {
HTTP::redirect "[https://myit.xyz.com/ux/myitapp//](https://myit.xyz.com/ux/myitapp//)"
}
}