After reviewing my site logs for over 6 months, it appears that my htaccess file does not work for some things. I've searched this site, but still don't have a clue. Here is my section that I think is faulty.
RewriteEngine on
Options +FollowSymLinks
RewriteBase /
RewriteCond %{REMOTE_HOST} \.xx [NC,OR]
RewriteCond %{REMOTE_HOST} \.yy [NC,OR]
RewriteCond %{REMOTE_HOST} \.zz [NC]
RewriteCond %{REQUEST_URI} !(robots\.txt|/error/forbidden\.html)
RewriteRule ^(.*)$ - [F]
I also seem to have the same problem using %{HTTP_REFERER}
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} #*$!\.net [NC,OR]
RewriteCond %{HTTP_REFERER} #*$!xx\.com [NC,OR]
RewriteCond %{HTTP_REFERER} \#*$!xx\.gov [NC]
RewriteCond %{REQUEST_URI} !(robots\.txt|/error/forbidden\.html)
RewriteRule ^(.*)$ - [F]
Jim