Re: acl-list (ban problem)

From: Clifton Royston <cliftonr@dont-contact.us>
Date: Fri, 3 Sep 1999 09:05:09 -1000 (HST)

Roland de Greef writes:
> The problem is if i use the line ^http://*.*chat*.*/ in an acl-ban list.
> That not only the url is processed but also the url path and that's not my
> intension. Another strange thing is that this command also blocks url with
> the word chat before the '.'.
>
> Therefore my question is: What are the rules for using these
> url(path)_regex lines? Is there a url_regex command that only processes the
> first part of the url(till the path).

'man regex', which will point you to 'man re_format'

What you're trying to express should be written more like:

  ^http://.*\..*chat.*\..*/

The man pages will help you with this.
  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr@lava.net
        "An absolute monarch would be absolutely wise and good.  
           But no man is strong enough to have no interest.  
             Therefore the best king would be Pure Chance.  
              It is Pure Chance that rules the Universe; 
          therefore, and only therefore, life is good." - AC
Received on Fri Sep 03 1999 - 13:28:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:15 MST