You are here: prevent hotlinking « HTML « IT news, forums, messages
prevent hotlinking

Posted by abracad_1999 on 05/31/07 00:46

I want to prevent other sites hotlinking to images on my site which
appears as the urls:
japan.twinisles.com
japandesu.com

I have added the following lines to.htacces
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?twinisles\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?japandesu\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?japan.twinisles\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]


However when I test it on sites such as http://www.free-webhosts.com/hotlinking-checker.php
the images still appear.


What am I doing wrong?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация