[prev] [next] [up]

Whitelist

Defines a set of URLs that will not be filtered.

Parameters

include = url_pattern
exclude = url_pattern

Similar to include and exclude filter parameters except that here these parameters define a set of pages that will not be affected by any filter.

URLs and URL templates in the include list will not be filtered. URLs and URL templates in the exclude list will be fitered.

Example

Let's say we don't want to filter pages in our favorite coolstuff.com domain (fictional) and all its subdomains, except for pages in ads.coolstuff.com domain, pages in /ads and /promos directories and those that contain the word banner anywhere in the path part of their URLs.

In order to achieve that, our whitelist.cfg must contain something like this:

include = coolstuff.com
exclude = ads.coolstuff.com
exclude = coolstuff.com/ads
exclude = coolstuff.com/promos
exclude = coolstuff.com/*banner*

[prev] [next] [up]