Re: [squid-users] Wildcards for filenames

From: Simon White <simon@dont-contact.us>
Date: Thu, 28 Mar 2002 11:33:07 +0000

28-Mar-02 at 11:34, Hegedus, Ervin (airween@amit.hu) wrote :
> so, if this thread comes up: i try to filter the browsers,
> and try use this:
>
> acl permit_browser browser -i Windows\ 98
>
> but when reloaded squid, i get this:
>
> 2002/03/28 11:32:00| squid.conf line 1717: acl permit_browsers browser -i Windows\ 98
> 2002/03/28 11:32:00| aclParseRegexList: Invalid regular expression 'Windows\': trailing backslash (\)

Squid is telling you that your regular expression is invalid. So you have
to fix it.

I think your best bet is to read up on regular expressions, since if the
list keep sending you good regexps you're not learning anything are you?

Oh, and Windows 98 is not a browser :) but it may appear in the browser
string, but not as "Windows 98" anyway.

Simon.

-- 
[Simon White. vim/mutt. simon@mtds.com. GIMPS:58.39% see www.mersenne.org]
Men never do evil so completely and cheerfully as when they do it from
religious conviction.  -- Blaise Pascal
[Arbitrary quotes signature rotation, a simple bash script by Simon White]
Received on Thu Mar 28 2002 - 04:33:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:10 MST