Thread: htaccess?
View Single Post
Old 05-23-2004, 09:47 AM  
NaughtyAllie
Confirmed User
 
NaughtyAllie's Avatar
 
Join Date: Apr 2003
Location: CO
Posts: 1,844
htaccess?

Hey guys, I'm looking for a little help here.
How do I modify the below htaccess to allow hotlinking from one particular domain? For example, say I wanted to allow hotlinking from www.gofuckyourself.com. How would I modify the code to allow that?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?naughtyallie.com/.*$ [NC]
RewriteRule \.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|wmv|WMV) $ http://www.naughtyallie.com/guestarea/index.htm [R,L]
__________________
NaughtyAllie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote