| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 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  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 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.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			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  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Jan 2002 
				
				
				
					Posts: 7,981
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 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.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: May 2004 
				
				
				
					Posts: 118
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 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  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 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  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |