Forum Moderators: phranque
Allow,Deny
First, all Allow directives are evaluated; at least one must match, or the request is rejected. Next, all Deny directives are evaluated. If any matches, the request is rejected. Last, any requests which do not match an Allow or a Deny directive are denied by default.
Deny from 91.21.0.0/16
SetEnvif Request_URI "^(robots\.txt|custom-403-error-page\.html)$" AllowAll
#
Order deny,allow
Deny from 91.21
Deny from 72.84.49.nnn
Allow from env=AllowAll
Order Deny,Allow
# Deny Comscore via Savvis
Deny from 64.210.192.0/18
# Allow eight Girafa thumbnailing 'bot IP addresses
Allow from 64.210.196.192/29