O
ovi
Guest
I have a question.
I try to stop people from hotlinking to my .gif and .jpg files using .htaccess
Did any of you done something similar?
I have understand that I have to use in .htaccess something similar:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?your_domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
Is this correct?
Thanks in advance.
Ovi
I try to stop people from hotlinking to my .gif and .jpg files using .htaccess
Did any of you done something similar?
I have understand that I have to use in .htaccess something similar:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?your_domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
Is this correct?
Thanks in advance.
Ovi