This article describes how to use URL transformation to rewrite and proxy requests.
To implement the same function as the Apache rewrite rule use the following procedure.
RewriteRule ^http://www.example.com/key/(.*) http://www.external.com/$1 [P,L]
This procedure takes incoming request for www.example.com, identified by the /key/ directory, and rewrites them to host www.external.com, removing the /key/ directory.
Define a content switching virtual server which routes the incoming request to the IP of www.external.com.
Configure the URL transformation as fol