Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 2009-06-18, 12:06 PM   #1
Preacher
There's Xanax in my thurible!
 
Preacher's Avatar
 
Join Date: Apr 2005
Location: Wherever they screw on my head
Posts: 2,441
Send a message via ICQ to Preacher
Fusker Re-Visited

Ok, so I've had hotlink protection on for my images forever and I've never had an issue with fusker. Now I am seeing a ton of referrals in my stats from several fusker domains, so I'm guessing that they are hotlinking my movies (wmvs)?

So I was thinking I could block them completely as a referrer. So I guess my questions are will this work, and if it would is the below code what I should put in my .htaccess?

PHP Code:
RewriteEngine on
RewriteCond 
%{HTTP_REFERERfuskerfind [NC,OR]
RewriteCond %{HTTP_REFERERfuskem [NC,OR]
RewriteCond %{HTTP_REFEREReonpal [NC]
RewriteRule .* - [F,L
(btw I have searched the board and gone through the threads and I'm just making sure that this recommended solution is what I need as I'm no htaccess ninja)
__________________
NSCash * This Depraved World
Preacher is offline   Reply With Quote
Old 2009-06-18, 12:11 PM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
if you see it in your stats, are they 200/304 successes? or 403s? There is an addon that they use for IE and can use for firefox that blocks referrers and sends an empty referrer, allowing them to still post their entries, but, surfers without those addons will surf galleries that have tons of 403 errors.

If it is in your stats, you can be somewhat sure that they aren't hitting .wmv files because Windows Media doesn't send a referrer.

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} (fusker|fukser|fuskem|eonpal) [NC]
RewriteRule .* - [F,L]
is a little kinder. You can add more url 'pieces' inside the () as long as you separate the phrase with a |. The above code matches if it finds fusker, fukser, fuskem or eonpal in the url.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2009-06-18, 12:12 PM   #3
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Trouble is if you allow no referral traffic, like bookmarks, then places like fusker will use this to hotlink by blocking the referral.

Also as Chris just mentioned wmv files don't send any referral which is why I never use them.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2009-06-18, 03:45 PM   #4
Preacher
There's Xanax in my thurible!
 
Preacher's Avatar
 
Join Date: Apr 2005
Location: Wherever they screw on my head
Posts: 2,441
Send a message via ICQ to Preacher
Thank you both. I updated my htaccess with CD34' recommendation and I'll keep an eye on my stats and see what happens.
__________________
NSCash * This Depraved World
Preacher is offline   Reply With Quote
Reply


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 12:11 PM.


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