From research I've done the following can be done to stop certain web sites from access our web site.
Example 1.
<Limit GET,POST>
order allow,deny
deny from some-evil-isp.com
allow from all
</Limit>
Example 2.
RewriteEngine On
RewriteCond %{HTTP_REFERER} some-evil-isp\.com [NC,OR]
RewriteRule .* - [F]
The problem I have is the current .htaccess with its URL rewriting doesn't play nice with the above options. Example 2 stops everyone.
Example 1 stops no one.
Anyone know how to update the following .htacces code to stop specific web sites.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress