hot link protection for animated gif

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    hot link protection for animated gif

    Hello,

    I want to protect my animated .gif format images from hot linking.

    So i add these to .htaccess as usual.

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?free****.info [NC]
    RewriteRule \.(gif)$ http://free****.info/index.php [NC,R,L]

    Its, working on normal .gif images, But not with animated .gif images.

    Any advice ??????

    Thank you!

    #2
    Maybe try
    RewriteRule .*\.(gif)$ http://free****.info/index.php [R,NC]
    libra.wen.ru

    Comment


      #3
      Originally posted by s3nzo View Post
      Maybe try
      RewriteRule .*\.(gif)$ http://free****.info/index.php [R,NC]
      still same....

      Comment


        #4
        For a few extensions.
        Code:
        RewriteEngine on
        RewriteCond %{HTTP_REFERER} !^$
        RewriteCond %{HTTP_REFERER} !^http://(www.)?server.tld/.*$ [NC]
        RewriteRule \.(gif|jpe?g|png|mp3)$ - [F]
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment

        Working...
        X