Anti-hotlinking in effect
Since I got slashdotted a little bit, I’ve turned on anti-hotlinking in the images folder with this htaccess rule:
# Hotlinking
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !elliottback\.com [NC]
RewriteCond %{HTTP_REFERER} !ericback\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteRule .*\.(jpe?g|gif|png)$ - [F,NC,L]
Let me know if I’m missing something, or you see any problems!
This entry was posted on Monday, July 11th, 2005 at 8:07 pm and is tagged with hotlinking, rewriterule, google, jpe, missing something, http referer, png, little bit, rewritecond, images. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Add New Comment
Viewing 3 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)