Re: [squid-users] Re: How to ignore query terms for store key?

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Thu, 9 Sep 2010 16:28:58 +0200

On 07.09.10 18:59, Guy Bashkansky wrote:
> Thanks, storeurl_rewrite in Squid 2.7 looks like the right solution.
>
> But when I try to use it to strip query, Squid does not respond:
>
> /usr/local/squid/etc/squid.conf
> storeurl_access allow all # just for the test, will narrow down later
> storeurl_rewrite_program /usr/local/squid/bin/strip-query.pl
>
> /usr/local/squid/bin/strip-query.pl
> #!/usr/local/bin/perl -Tw
> $| = 1; while(<>) { chomp; s/\?\S*//; print; } ### my strip query test

are you sure that http://www.google.sk/search?q=one should give the same
result as http://www.google.sk/search?q=two?

I think that you and your users will be very surprised...

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901
Received on Thu Sep 09 2010 - 14:29:01 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 09 2010 - 12:00:02 MDT