We would like to do proxy pass to alias a URL 1 with URL 2 (with a virtual directory) but using the same content for URL 1
We have two load balanced sites through the F5, 'http://www.richmondamerican.com' and 'http://how-to-buy-a-home.richmondamerican.com', both using 2 different IP addresses. We would like to do proxy pass the name of the second load balanced site, 'http://how-to-buy-a-home.richmondamerican.com[HTTP::uri]', to 'http://www.richmondamerican.com/blog/[HTTP::uri]'. How do we configure F5 load balancer to do this in using iRule LTM?
The iRules articles/documentation for don't seem that easy to use for proxies (LTM). We would just like simple examples. Do we set the following, RewriteResponsePayload (set to 2 to change host and path) and stream_expression_cmd.
set static::RewriteResponsePayload 2 set stream_expression_cmd "STREAM::expression
Any help would be greatly appreciated like a simple example.
Thanks, -Richard