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

From: Jeff Pang <pangj_at_arcor.de>
Date: Thu, 11 Jun 2009 14:19:15 +0800

Riccardo Castellani:
> I understand "acl QUERY urlpath_regex cgi-bin \?" entry 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 "?" ?!
>

"?" means a dynamic request in url.
i.e, http://www.google.cn/search?hl=zh-CN&q=squid
which is a dynamic request, the string after "?" is the arguments for an
query. response for this request shouldn't be cached.

> acl matches both "cgi-bin" and "?", either "cgi-bin" or "?" ?!

either.

-- 
Jeff Pang
DingTong Technology
www.dtonenetworks.com
Received on Thu Jun 11 2009 - 06:18:12 MDT

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