Redirect Help

Hi All,

I’m faced with a redirect need that I haven’t come across before and am looking for some help.

Here’s the request I was given:

redirect http://go.company.com/* to http://www.newcompany.com/go/*

Where * equals any original URI string

Thanks for your help!

Here’s the answer to this thread, i see you’ve created another thread and its answered by an F5 :slight_smile: Nevertheless, here’s again for your thread.

when HTTP_REQUEST {
    if { [string tolower [HTTP::host]] eq "go.company.com" } {
        HTTP::redirect "http://www.newcompany.com/go[HTTP::uri]"
    }
}