Return to Snippet

Revision: 45203
at April 27, 2011 10:41 by CKOink


Initial Code
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Wget [or]
RewriteRule  ^.* - [F,L}
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?seventhpartydesigns.com [NC]
RewriteRule \.(jpg|jpeg|png|gif|flv|swf)? - [NC,F,L]

Initial URL

                                

Initial Description
Blocks bad bots, and image theft, allows visitors inside domains.

Initial Title
.htaccess bot block and image theft

Initial Tags
htaccess, security

Initial Language
C