Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 2009-05-15, 09:06 PM   #1
rooty
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
rooty's Avatar
 
Join Date: Sep 2008
Posts: 51
bad nature of hotlink protection

Quite a few of us would agree that hot linking is one of our many things to think about when launching a new site.

the normal anti hot linking code allow your site(s) and empty referrers... and it works brilliantly

BUT (the big butt)

what about
images.google.com
translate.google.com
google cache (http://209.85.??.??/search?q=cache:)
AOL Cache & compression servers
more...

I've collected a few mod_rewrite lines of code to help with google and AOL (cant confirm it works for AOL... perhaps someone can?).

Does any of you have a comprehensive list of these lovely sites we do want to allow to hotlink to your site(s)?

Code:
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?aol\.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?aol\.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?google(\.co[m]?)?(\.[a-z]{2})/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?google(\.co[m]?)?(\.[a-z]{2})$      [NC]
RewriteCond %(HTTP_REFERER) !\/search\?q=cache
__________________
Nothing to see here really - My boring blog
rooty is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:33 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc