Giving a good lesson to hotlinker

Discussion in 'Apache' started by Sifro, Sep 9, 2011.

  1. #1
    Hello,

    as the title suggest, i'm planning my revenge :D

    But.... this code doesn't work! I want to replace the swf he is hotlinking with another one... Here's my htaccess (only the relevant part):


    RewriteCond %{HTTP_REFERER} badsite.very.bad [NC]
    RewriteRule .*\.(swf)$ /hotlink/hotlink_theft.swf [L]


    The theft is correctly prevent, as the <embed> tag doesn't load anything (so the 1st line works), but i want to find a way to correctly show the custom swf... What's wrong in my 2nd line?

    Thanks!
     
    Sifro, Sep 9, 2011 IP