Problem with hotlink

Problem with hotlink

Postby tarasbuba » Mon Sep 12, 2011 4:52 pm

Hello I'm using this code :
on .htaccess in public_html
Code: Select all
    RewriteEngine on

    RewriteCond %{HTTP_REFERER} !^$

    #allow hotlinking for thumbnails
    RewriteCond %{REQUEST_URI} !_thumb

    #allowed website to hotlink  (don't forget to add your own site !!)
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?hostmyimage.org(/)?.*$ [NC]

    #display no-hotlink.jpg instead of the requested image
    RewriteRule \.(jpg|jpeg|gif|png|bmp|ico)$ http://www.hostmyimage.org/no-hotlink.jpg [NC,R,L]


But i guess that isn't working

(can you see the img ? )

Image


how i fix this?

thx
Random avatar
tarasbuba
 
Posts: 3
Joined: Fri Jul 08, 2011 10:53 pm

Re: Problem with hotlink

Postby kashwak » Mon Sep 12, 2011 7:56 pm

sorry we can not help you due to too many ads and popup on your site.

if you would like for us to take a look and see what the problem is please remove some of your ads.

thank you
kashwak
Join us on Twitter Image
User avatar
kashwak
Site Admin
 
Posts: 138
Joined: Fri May 27, 2011 7:03 pm


Return to MMH Archives



Who is online

Users browsing this forum: No registered users and 1 guest

cron
Scroll to top