Re: [squid-users] acl QUERY cgi-bin \?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 12 Jun 2009 03:28:30 +1200

Riccardo Castellani wrote:
> I understand "acl QUERY urlpath_regex cgi-bin \?" corresponds to every url
> which contains "cgi-bin" but I don't understand what means "\?"
> Pheraps it quotes question mark ?! If yes, acl matches both "cgi-bin" and
> "?", either "cgi-bin" or "?" ?!
>

Yes exactly.

Worth noting that in Squid 2.7,3.0,3.1 it's probably a good idea to
remove from the config and adding the following line just above the
final "." refresh_pattern:
   refresh_pattern -i (/cgi-bin/|\?) 0 0% 0

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1
Received on Thu Jun 11 2009 - 15:28:38 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 11 2009 - 12:00:03 MDT