(Tip supplied by Sublime, from this post)
In the below htaccess entries, add whatever website you want to allow. Follow the same way as yoursite.com and impresscms.org are added.
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+.)?yoursite.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://(.+.)?impresscms.org/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*.(jpe?g|png|gif|bmp)$ /images/goaway.gif[L]
Last modified on 2010/11/28 by Anonymous
|