Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-05-2005, 11:14 AM   #1
badmrfrosty
Confirmed User
 
Join Date: May 2003
Posts: 500
Slightly technical question regarding mod_rewrite hotlink protection

Hi, i'm wondering if you guys are using mod_rewrite to hotlink protect your servers or if you noticed that it causes more problems than it is worth? I recently started using it and i've read that it can cause certain browsers issues/etc.

Does anyone have any real world input on this?

Thanks,
BMF
badmrfrosty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2005, 12:13 PM   #2
disregard
Confirmed User
 
Join Date: May 2004
Posts: 118
The amount of problems it causes depends on what rules you use. The deal is that browsers aren't guaranteed to provide referrers so some rulesets will not let those browsers see your images. In real life, your audience has browsers that work fine with normal hotlink rules.

Make sure your rules are ok though.. some people have broken rules.
disregard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2005, 12:20 PM   #3
Slap Dot
Confirmed User
 
Slap Dot's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: BASS
Posts: 3,168
You mean .htaccess hotlink protection? That's not what Mod Rewrite is
__________________

» AIM: slapdotted
» Skype: slapdot
» ICQ: 190444
Slap Dot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2005, 12:26 PM   #4
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally Posted by Slap Dot
You mean .htaccess hotlink protection? That's not what Mod Rewrite is
mod_rewrite is used for regular image hotlink protection.


I have mine set up to allow from my own domains + browsers that doesn't send a referer and I don't have any problems.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2005, 01:30 PM   #5
disregard
Confirmed User
 
Join Date: May 2004
Posts: 118
Quote:
Originally Posted by Slap Dot
You mean .htaccess hotlink protection? That's not what Mod Rewrite is

Actually, mod_rewrite usually is used for .htaccess hotlink protection. You plop a bunch of mod_rewrite rules in your .htaccess file typically. Like this: http://faq.ath.cx/index.php?query=a126.html
__________________
house o' fart

Last edited by disregard; 02-05-2005 at 01:32 PM..
disregard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2005, 10:00 AM   #6
badmrfrosty
Confirmed User
 
Join Date: May 2003
Posts: 500
Below is my .htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?pornacle\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png|mpeg|wmv|mpg)$ - [F]

not sure if that looks ok? anyone have any pointers?

Thanks
badmrfrosty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.