HTTP redirect assistance

I have created a web server for internal use and I am having this problem.

target: http://enabled/VenNew/version1/logon.asp

source: http://VenNew/version1/logon.asp

I also want to get to the source specified when I type “enabled” from my browser.

I created this irule that didn’t work. What am I doing wroung?

when HTTP_REQUEST {

if { [string tolower [HTTP::host]] contains “enabled” } {

HTTP::redirect "http://VenNew/version1/logon.asp "

}

}

Try one of this.

when HTTP_REQUEST {

if { [string tolower [HTTP::host]] starts_with “enabled” } {

HTTP::redirect “http://VenNew/version1/logon.asp”

}

}

when HTTP_REQUEST {

if { [HTTP::host] starts_with “enabled” } {

HTTP::redirect “http://VenNew/version1/logon.asp”

}

}

is the hostname “enabled”, or is that part of the URI?