RSS





Наши полезные сервисы (Our useful services)
Подвальчик



Погода со спутника

Технология приготовления копченого сала (грудинки)

Рецепт капусты



<< LinkMachine   |   WEBLOG   |   Htaccess Disable Hotlinking Code Generator >>

Preventing Hotlinking with Apache

On an Apache web server, you can use mod_rewrite and .htaccess to prevent any web page other than your own from accessing your graphic images.

Your .htaccess rule to block hotlinking will look something like this:


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?internet-search-engines-faq.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.internet-search-engines-faq.com [R,NC]
To make this process easier, html basicx maintains a code generator which will create the correct .htaccess entries to prevent hotlinking.


MORE...


Posted by: GreenWood on Jan 06, 06 | 10:36 am | Profile

COMMENTS



Notify me when someone replies to this post?


SEO blog. На главную.

ppc


Партнерские программы


Google
 
Web bloggreenwood.com
черное море

#1 Online pharmacy
affiliate program!