I have a url that is used to store data across multiple sites based on client ID. Many of our clients are now wanting to use secure https resolution, yet the data referenced on their sites from this specific url is not currently secure, therefore I'm getting an error that "some parts of this page are not secure (such as images)", and I'm looking for a rewrite condition that would enable forwarding of the storage location url to https if it's being referenced from an https site only, yet still allows http resolution of the same storage url if not.
Any assistance on this topic would be greatly appreciated. Thanks in advance to all contributors. David W.