Forum Discussion

1 Reply

  • Hi,

    try this:

    when HTTP_REQUEST {
        if {!([string tolower [HTTP::host]] equals "www1.cnrmall.com")}{
            HTTP::redirect "http://www1.cnrmall.com[HTTP::uri]"
        }
    }
    

    if host id different to www1.cnrmall.com we redirect user to www1.cnrmall.com and keeping the uri.

    let me know if you need more details.

    regards,