Anti hotlinking tip

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Donners
    Confirmed User
    • Jun 2004
    • 689

    #1

    Anti hotlinking tip

    I saw some guy selling an anti hotlinking script for some $$$. But why pay.
    Create a .htaccess file with this

    Code:
    RewriteEngine on 
    RewriteOptions inherit 
    RewriteCond %{HTTP_REFERER} !^[url]http://[/url]([a-z0-9-]+\.)*yourdomain.com/ [NC] // yourdomain to allow hotlinkings
    RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) 
    RewriteRule /*$ [url]http://www.aftonbladet.com/[/url] [L,R]  //redirect hotlinkers to this url
  • Donners
    Confirmed User
    • Jun 2004
    • 689

    #2
    Free tips not appreciated?

    Comment

    • bringer
      i have man boobies
      • Jul 2003
      • 13082

      #3
      Originally posted by Donners
      Free tips not appreciated?
      not with a sig like that
      333-765-551

      Comment

      • {fusion}
        Confirmed User
        • Sep 2003
        • 1650

        #4
        dude that code doesnt like it would protect your mpgs ect

        Comment

        • StarkReality
          Confirmed User
          • May 2004
          • 4444

          #5
          I only do hotlinking protection for movies...I love feeding the seacrh engine imagebots

          Comment

          • bringer
            i have man boobies
            • Jul 2003
            • 13082

            #6
            Originally posted by {fusion}
            dude that code doesnt like it would protect your mpgs ect
            i have one that does that
            i sell cheap
            333-765-551

            Comment

            • Donners
              Confirmed User
              • Jun 2004
              • 689

              #7
              Originally posted by {fusion}
              dude that code doesnt like it would protect your mpgs ect
              I tried it with avi files and I'm pretty sure it protects ALL files.

              Comment

              • latinasojourn
                Confirmed User
                • Oct 2003
                • 3191

                #8
                Originally posted by Donners
                I tried it with avi files and I'm pretty sure it protects ALL files.

                interesting, i use the script from antihotlinking.com which does work for mpg files...

                but are you saying:

                hahahahahahahahahahahahahahahahahahahahahahahahaha hahahahahahahahahahahahahahahahahahahahahahaha=
                RewriteEngine on
                RewriteOptions inherit
                RewriteCond %haha123;HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] // yourdomain to

                allow hotlinkings
                RewriteCond %haha123;HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
                RewriteRule /*$ http://www.aftonbladet.com/ [L,R] //redirect hotlinkers to this url

                hahahahahahahahahahahahahahahahahahahahahahahahaha hahahahahahahahahahahahahahahahahahahahahahaha=

                replace "yourdomain.com" and "aftonbladet.com" with appropriate changes and this will work as written?

                hmmm, someone test this please and advise, i am not a computer geek.

                Comment

                Working...