wwwoffle-users  

Re: [WWWOFFLE-Users] does http://*foo.org/ include http://foo.org/ ?

Andrew M. Bishop
Thu, 23 Feb 2006 22:49:19 -0800

Miernik <[EMAIL PROTECTED]> writes:

> If in the URL-SPEC I put:
> http://*foo.org/*
> does that include http://foo.org/ or not?

Yes it does include this since the '*' can be anything, including
nothing.

> And if I put
> http://*.foo.org/*
> ?

No that does not include http://foo.org/ since there is a '.' in the
URL-SPECIFICATION that is not in the URL.

> What if I want to have an URL-SPEC that would include
> http://foo.org/*
> http://bar.foo.org/*
> http://baz.foo.org/*
> but not
> http://efoo.org/*
> ? Can I do that in a single line?

No you cannot have a single line.  Probably best is the two line
version like:

DontGet
{
!http://efoo.org/*
 http://*foo.org/*
}

(You need '<' and '>' around the URL-SPEC in some other sections of
the config file, but the '!' goes outside).

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html