View Single Post
Old 05-25-2005, 12:23 PM  
sixxxthsense
Confirmed User
 
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
Quote:
Originally Posted by Lycanthrope
joechip is partly correct...

However, make sure you allow null referrers if you want the spiders to find your images, otherwise they'll redirect per your hotlink instructions.

This says, allow null referrers and requests from my domain only to display images. Send all other requests to hotlink.html:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Jj][Pp][Ee][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/hotlink.html
I've got that part, I just wanna know how to allow google's domain cuz google has .com, .ca, .uk and all these others ... I belive that there is a single RewriteCond line that does it
sixxxthsense is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote