View Single Post
Old 03-24-2003, 02:40 PM  
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23
Heer is my htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com [NC]
RewriteRule [^/]+\.(exe|mpeg|mpg|avi|mp3|gif|jpg|JPG|GIF|MP3|AVI)$ - [F]
RewriteRule ^/cgi-bin/.+$ - [F]
#ErrorDocument 403 http://www.yahoo.com
#ErrorDocument 404 http://www.yahoo.com
#ErrorDocument 500 http://www.yahoo.com

But my friend tell me that if i want to prohibit hot link from http://www.j-movies.com ihave to right this

RewriteCond %{HTTP_REFERER} ^http://www.j-movies.com [NC]

(just remove the "!" from RewriteCond)

Is that true?
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote