[squid-users] strip_query_terms parameter

Amos Jeffries squid3 at treenet.co.nz
Tue Jun 16 18:35:16 UTC 2015


On 16/06/2015 5:31 p.m., Mohammad Shakir wrote:
> We are using store_id_program to cache CDN objects due to (301 status) we can not catch the actual url.
> 
> Is there any other procedure to override this problem.
> 
> given below is our configuration for store_id_program
> 
> 
> acl gotostoreid dstdomain .filehippo.com
> acl banned_methods method PUT POST PURGE
> acl norewrite url_regex -i \.(youtube|googlevideo)\.com\/videoplayback.*redirect_counter=1.*cms_redirect=yes.* \.(youtube|googlevideo)\.com\/videoplayback.*cms_redirect=yes.*redirect_counter=1.*
> 
> store_id_bypass on
> 
> store_id_program /etc/squid/storeid.pl
> store_id_children 40 startup=10 idle=1 concurrency=0
> store_id_access allow gotostoreid
> store_id_access deny norewrite
> store_id_access deny banned_methods
> store_id_access deny all
> 


If you have the latest version of Squid please try this:

 acl status3xx http_status 300-399
 store_miss deny status3xx gotostoreid

Amos



More information about the squid-users mailing list