Adding URI to URL

I am trying to add a URI to a URL and and not having any luck.

so if someone types server.name.com they get server.name.com/qcbin

when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals “/” } { HTTP::path “/qcbin” } }

The HTTP::host value returns the host name (ie. server.name.com). You want HTTP::uri or HTTP::path to evaluate the URI value. You also don’t need to do [string tolower ] if you’re evaluating URI = “/”.

when HTTP_REQUEST {
    if { [HTTP::uri] equals "/" } {
        HTTP::uri "/qcbin"
    }
}