I have 2 servers. example.com and proxy.example.com
I would like proxying /server/(.)/banner/(.) to http://proxy.example.com/banners/banner_$2_$1.png
I have prepared in example.com apache2 vhost settings the following rule
RewriteRule ^/server/(.*)/banner/(.*)$ http://proxy.example.com/banners/banner_$2_$1.png [P]
But it does not work. What is wrong here?