squid visolve wrote:
>
> Hi,
>
> I have tried with this
> acl exe-filter urlpath_regex -i \.exe$ \.jpg$ \.mid$
> http_access deny exe-filter
> It Works good.
>
> But according to u
> acl exe-filter urlpath_regex -i /$ \.exe$ \.jpg$
> \.mid$
> http_access deny exe-filter
> It denies all files including html files.
The /$ denies all URLs ending in /, i.e. URLs like
http://www.example.com/ or http://www.example.com/info/
For all gory details about how you can write regular expressions, see:
man 7 regex
or
"Base Definitions / Regular Expressions" in The Single Unix
Specification (available freely from The Open Group,
http://www.opengroup.org/)
Squid uses what is referred to as "modern" or "extended" regular
expressions.
-- Henrik Nordstrom Squid hacker -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Jan 25 2001 - 00:42:16 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:34 MST