I need a help to setup a complex .HTACCESS rule.
My site (abc.com) has SSL setup. The gallery images are hosted in an external site pqr.com, it doesn't have SSL.
I want, if my site (abc.com) is opened in ssl (that is https://abc.com) the external images (jpeg or png) that are coming from pqr.com will use a SSL proxy. Example - http://pqr.com/pic1.png will convert into https://abc.com/proxy/pqr.com/pic1.png
How to do it?