Is there a way to strip the path from a request only on the backend? In the
example below I want to direct traffic to
www.domain.com/swf<http://www.domain.com/v2>/*
to the "flash" backend but drop the "swf" so that the request is just
"backend:80/" not backend:80/swf/". I've tried different variations of
"path_beg" and "url_beg" with no luck.
Thanks!
--
acl url_swf path_beg -i /swf
use_backend flash if url_swf
default_backend app
backend flash
mode http
balance roundrobin
cookie BALANCEID prefix
server flash01 10.1.1.1:80 cookie A check
server flash02 10.1.1.2:80 cookie B check