Re: [squid-users] Is this possible?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 24 Mar 2009 22:34:09 +1300

Merdouille wrote:
>
>
>> Don't send the 302. Just rewrite the URL. Squid will fetch the
>> rewritten URL and send the result to the client.
>>
>> Chris
>>
>>
>
> OK it works!
> Thanks!
>
> So i use :
>
> acl rw url_regex -i http://moi/img=*
> http_access deny !rw
> http_access allow rw
>
> To only accept http://moi/img=an_url
>
> I try to add an acl on http_acces_reply with an url-regexp whitelist to
> restrict what sould squid accept to reply after rewriting.
>

Huh? please show.

> But it doesnt work

Reply has no URI.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6
Received on Tue Mar 24 2009 - 09:33:25 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 24 2009 - 12:00:02 MDT