"Fossies" - the Fresh Open Source Software Archive

Member "bad-behavior/whitelist-sample.ini" (25 Jan 2012, 937 Bytes) of package /linux/www/bad-behavior.2.2.24.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ; whitelist.ini
    2 ;
    3 ; Inappropriate whitelisting WILL expose you to spam, or cause Bad Behavior
    4 ; to stop functioning entirely! DO NOT WHITELIST unless you are 100% CERTAIN
    5 ; that you should.
    6 
    7 ; IP address ranges use the CIDR format.
    8 
    9 [ip]
   10 ; Digg whitelisted as of 2.0.12
   11 ip[] = "64.191.203.0/24"
   12 ip[] = "208.67.217.130"
   13 ; RFC 1918 addresses
   14 ip[] = "10.0.0.0/8"
   15 ip[] = "172.16.0.0/12"
   16 ip[] = "192.168.0.0/16"
   17 
   18 ; User agents are matched by exact match only.
   19 
   20 [useragent]
   21 useragent[] = "Mozilla/4.0 (It's me, let me in)"
   22 
   23 ; URLs are matched from the first / after the server name up to, but not
   24 ; including, the ? (if any). The URL to be whitelisted is a URL on YOUR site.
   25 ; A partial URL match is permitted, so URL whitelist entries should be as
   26 ; specific as possible, but no more specific than necessary. For instance,
   27 ; "/example" would match "/example.php" and "/example/address".
   28 
   29 [url]
   30 url[] = "/example.php"
   31 url[] = "/openid/server"