Re: does http://*foo.org/ include http://foo.org/ ?
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop) 23 Feb 2006 18:59:57 +0000
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
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 amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html