htaccess?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NaughtyAllie
    Confirmed User
    • Apr 2003
    • 1844

    #1

    htaccess?

    Hey guys, I'm looking for a little help here.
    How do I modify the below htaccess to allow hotlinking from one particular domain? For example, say I wanted to allow hotlinking from www.gofuckyourself.com. How would I modify the code to allow that?

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?naughtyallie.com/.*$ [NC]
    RewriteRule \.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|wmv|WMV) $ http://www.naughtyallie.com/guestarea/index.htm [R,L]
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

    #2
    One sec ill give you a juicy one.............

    Comment

    • juicylinks
      So Fucking Banned
      • Apr 2001
      • 122992

      #3
      RewriteEngine on
      RewriteCond %{HTTP_REFERER} !^$
      RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gofuckyourself.com(/)?.*$ [NC]
      RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(board\.)?gofuckyourself.com(/)?.*$ [NC]
      RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(bbs\.)?gofuckyourself.com(/)?.*$ [NC]
      RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gfyboard.com(/)?.*$ [NC]
      RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://69.42.74.68(/)?.*$ [NC]
      RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]



      change the ip address of you main server ip also you the different gfy urls as well for massive posting power

      Comment

      • NaughtyAllie
        Confirmed User
        • Apr 2003
        • 1844

        #4
        Hey Juicy, thanks for the help!!
        Could you email that to me in a notepad document since the code gets all screwed up on the board?
        allie at naughtyallie dot com
        You're the greatest!!

        Comment

        • thatjen
          Confirmed User
          • Apr 2003
          • 290

          #5
          I have the code too and can email it if you still need it. [email protected]

          Comment

          Working...