On Thu, Nov 25, 1999, Joseph R. Junkin wrote:
> I have a mod_proxy/mod_perl setup where all calls to a virtual domain
> are proxypassed from a frontend mod-proxy server to a backend mod_perl
> server. Up to this point I have linked all images in the returned web
> pages to another virtual host within the mod_proxy front end to avoid
> having mod_perl process static images.
>
> Now I am getting a certificate for this domain that is proxypassed and I
> am enabling mod_ssl on the mod_proxy front end. But the images cause an
> error because they come from an unsecure url, and I don't want to buy
> another certificate just for the images url.
>
> What I really want is for the images to come from the originating site,
> but I don't want them proxypassed to mod_perl.
> All images are referenced from a single aliased images directory
> (/dcimag) defined on the front end. Is there some simple solution to
> this with proxypass?
Use mod_rewrite with a ``RewriteRule ... [P]'' to achieve a more fine-tuned
proxy passing. This way you can easily make sure that all URLs are passed
through, except for the images. Because with a regex-based RewriteRule you're
more flexible in your decision than with the prefix-based ProxyPass.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]