[thelist] Re: allowing google to hotlink? ANYONE

John C Bullas jcbullas at nildram.co.uk
Wed Nov 5 01:53:13 CST 2003


Anyone any thoughts

I have no worries about people copying just don't want hotlinking

FB

>RewriteEngine on
>RewriteCond %{HTTP_REFERER} ^[http|nttp].*$
>RewriteCond %{HTTP_REFERER} !^$
>RewriteCond %{HTTP_REFERER} !^http://(www\.)?fatblokeracing.org/.*$ [NC]
>
>RewriteRule \.(gif|jpg|jpeg|png)$ 
>http://www.fatblokeracing.org/sharedimages/badimage.gif [R,L]
>
>How would you change this code to ONLY allow google<dot><anything> to hotlink?
>
><http://www.samspade.org/t/refer?a=google.com>google.com resolves to 
><http://www.samspade.org/t/refer?a=216.239.57.99>216.239.57.99 
><http://www.samspade.org/t/refer?a=216.239.37.99>216.239.37.99
><http://www.samspade.org/t/refer?a=www.google.com>www.google.com resolves 
>to <http://www.samspade.org/t/refer?a=216.239.53.99>216.239.53.99
>
><http://www.samspade.org/t/refer?a=google.co.uk>google.co.uk resolves to 
><http://www.samspade.org/t/refer?a=216.239.39.100>216.239.39.100 
><http://www.samspade.org/t/refer?a=216.239.33.100>216.239.33.100 
><http://www.samspade.org/t/refer?a=216.239.37.100>216.239.37.100
><http://www.samspade.org/t/refer?a=www.google.co.uk>www.google.co.uk 
>resolves to <http://www.samspade.org/t/refer?a=216.239.53.99>216.239.53.99
>
>ad nauseam....
>
>FB


More information about the thelist mailing list