On Fri, 15 Mar 2002, Bill Moseley wrote: > At 05:11 PM 3/15/2002 +0300, Igor Sysoev wrote: > >On Fri, 15 Mar 2002, Marius Kjeldahl wrote: > > > >> I guess these all suffer from the fact that the parameters have to be > >> specified in httpd.conf, which makes it impossible to pass a url to > >> fetch from in a parameter, right? > > > >So mod_rewite with mod_proxy or mod_accel: > > > >RewriteRule /proxy_url=http://(.+)$ http://$1 [L,P] > > > >Note that 'proxy?url=' is changed to 'proxy_url='. > > Any concern about being an open proxy there? I'd want to only proxy the > sites I'm working with. > > I'd rather cache the images locally, just in case you are working with a > slow site or if they do something silly like check referer on requests.
My prefrence is using static parameters in httpd.conf: AccelPass /mercant1/ http://mercant1/umages/ AccelPass /mercant2/ http://mercant2/umages/ ... AccelPass /mercant3/ http://mercant3/umages/ And of course proxied images can be cached. Igor Sysoev