lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev 2.8.2dev.14 patch 2 - rules


From: Leonid Pauzner
Subject: Re: lynx-dev 2.8.2dev.14 patch 2 - rules
Date: Mon, 25 Jan 1999 02:31:48 +0300 (MSK)

23-Jan-99 09:29 Klaus Weide wrote:

> As you can see below the changes are minimal.  Unfortunately
> there is no sample rules file or further explanation, beyond
> a few examples I added to lynx.cfg.  Eventually I may write
> a sample file (or someone else might. :)  The syntax will be
> familiar to those familar with the CERN httpd, it's basically
> the same old code, "Fail", "Pass", and "Map" should work
> (always use full URLs), some other rules may be recognized

[...]

> *** lynx2-8-2.old/lynx.cfg    Mon Jan 18 06:29:20 1999
> --- lynx2-8-2/lynx.cfg        Sat Jan 23 08:55:05 1999
> ***************
> *** 1865,1867 ****
> --- 1865,1885 ----
>   #
>   # EXTERNAL:ftp:wget %s &:TRUE

> + # CERN-style rules, *EXPERIMENTAL*  -  URL-specific rules
> + #
> + # A CERN-style rules file can be given with RULESFILE.  Use the system's
> + # native format for filenames, on Unix '~' is also recognized.  If a 
> filename
> + # is given, the file must exist.
> + #
> + # Single CERN-style rules can be specified with RULES.
> + #
> + # Both options can be repeated, rules accumulate in the order
> + # given, they will be applied in first-to-last order.
> + #
> + # Examples:
> + #   RULESFILE:/etc/lynx/cernrules
> + #   RULE:Fail       file://localhost/etc/passwd* # Don't rely on it!
> + #   RULE:Fail       gopher:*                     # reject by scheme
> + #   RULE:Pass       finger://address@hidden/        # allow this,
> + #   RULE:Fail       finger:*                     # but not others
> + #   RULE:Map        http://old.server/*     http://new.server/*

Does '*' wildcard can be a string termination only,
or probably like  http://*.com/*  etc.?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]