Search squid archive

Re: How to ignore query terms for store key?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guy Bashkansky wrote:
Is there a way to ignore URI query terms when forming store keys?
Maybe some rule or extension?

In the Squid code it could look something like:
{ char *p = strchr(uri, '?'); if (p) *p = '\0'; }

But the only code like this deals with strip_query_terms,
which only affects logging, not storing.

First, please answer: Why? what possible problem could require you to do this massive abuse of the web?

storeurl_rewrite

Be EXTREMELY careful about what you re-write. A good understanding of how the re-written website operates is needed. Along with complete trust that the website will not alter its design (or layout) in any way for the lifetime of your config.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.7
  Beta testers wanted for 3.2.0.2


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux