Forum Discussion
Aaron_Magruder_
Mar 31, 2005Nimbostratus
Neither of those options worked. The LTM didn't send the redirect.
when HTTP_REQUEST {
set uri { string trimleft [http::uri] "/" }
set uri_length { string length [http::uri] }
set host [HTTP::host]
set new_uri /Templates/IQuote010.cfm?ID=
set new_url $host$new_uri$uri
if { [string length http::uri] equals 5 } {
HTTP::redirect http://$new_url
}
else {
use pool UITShared-172-29-98-77
}
}