Forum Discussion
JRahm
Mar 31, 2005Admin
Would this work? Sorry, I don't have a pair with which to test right now, F5 pried our evaluation units out of our hands last Friday. Hopefully a PO will be cut soon.
when HTTP_REQUEST {
set uri { string trimleft [http::uri] "/" }
set uri_length { string length $uri }
set host [HTTP::host]
set new_uri /Templates/IQuote010.cfm?ID=
set new_url $host$new_uri$uri
if { $uri_length = 5 } {
HTTP::redirect http://$new_url
log "Redirecting [IP::client_addr] to http://$new_url"
}
else {
use pool UITShared-172-29-98-77
}
}