Strange RewriteCond %{HTTP_REFERER} appeared on all .htaccess

Discussion in 'Apache' started by Carl29, Feb 22, 2011.

  1. #1
    Hi,
    I need some help, suddenly all the .htaccess of all the websites within the server show up a RewriteCond %{HTTP_REFERER} rule for every other website on the server.
    
    RewriteCond %{HTTP_REFERER} !^http://website.com/.*$      [NC]
    so on...
    so on...
    Code (markup):
    any idea on what's this is?
     
    Carl29, Feb 22, 2011 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Looks like it says if you didn't come from one of the named websites then don't run the rules.
     
    tolra, Feb 22, 2011 IP
  3. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #3
    This could be image leech protection. Paste the full .htaccess
     
    zacharooni, Feb 23, 2011 IP
  4. Carl29

    Carl29 Active Member

    Messages:
    114
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    yes, I was thinking of it, but the thing is, that even own images are not being shown, here's the code
    http://pastie.org/1597869
     
    Carl29, Feb 23, 2011 IP