View Single Post
Old 03-24-2003, 02:42 PM  
oscer
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
Quote:
Originally posted by kelry
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?

its alot different then mine but it could work
__________________
XR Networks
Dedicated | VPS | Shared Hosting
ICQ 42602565
oscer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote