Quote:
|
Originally Posted by spanno
something like this might work:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} =""
RewriteCond %{HTTP_USER_AGENT} !^.*MSIE
RewriteCond %{REQUEST_URI} !\.*htm$ [NC]
RewriteCond %{REQUEST_URI} !\.*html$ [NC]
RewriteCond %{REQUEST_URI} !\.*/$
RewriteRule ^(.*)$ [F,L]
RewriteCond %{HTTP_REFERER} !=""
RewriteCond %{HTTP_REFERER} !^http://mydomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://[a-z,A-Z,0-9,\-]+.mydomain.com [NC]
RewriteCond %{REQUEST_URI} !\.*htm$ [NC]
RewriteCond %{REQUEST_URI} !\.*html$ [NC]
RewriteCond %{REQUEST_URI} !\.*/$
RewriteRule ^(.*)$ [F,L]
|
I am no programmer but this is the kind of .htaccess code I was waiting for...
Don't know if it will be effective tough...