Isapi_rewrite

Discussion in 'OT Technology' started by mattATX, Feb 9, 2005.

  1. mattATX

    mattATX OT Supporter

    Joined:
    Jun 6, 2003
    Messages:
    6,913
    Likes Received:
    1
    Location:
    ATX
    I need a ISAPI_REWRITE made to prevent hotlinking and i need a little help. Willing to paypal 5.00 for some help. If you can help hit me up on aim. I want to know how to make it and edit it. thanks
     
  2. Juvenall

    Juvenall What Would Juvie Do?

    Joined:
    Dec 31, 2004
    Messages:
    2,221
    Likes Received:
    0
    Location:
    #!/usr/bin/Detroit
    So what you're looking for is something like this?

    Code:
    [ISAPI_Rewrite]
     RewriteCond  Referer: (?!http://(www\.)?mysite\.com).+
    RewriteRule  .*\.(gif|jpg|png)  /dontleach.gif [I,L]
     
  3. mattATX

    mattATX OT Supporter

    Joined:
    Jun 6, 2003
    Messages:
    6,913
    Likes Received:
    1
    Location:
    ATX
    When i want to add another domain to that list do i just add another line

    RewriteCond Referer: (?!http://(www\.)?mysite\.com).+

    ?
     
  4. mattATX

    mattATX OT Supporter

    Joined:
    Jun 6, 2003
    Messages:
    6,913
    Likes Received:
    1
    Location:
    ATX
    Whalefat is helping me but thanks man
     
  5. Juvenall

    Juvenall What Would Juvie Do?

    Joined:
    Dec 31, 2004
    Messages:
    2,221
    Likes Received:
    0
    Location:
    #!/usr/bin/Detroit
    It's all good..heh. I wasn't trying for the money anyhow.
     
  6. mattATX

    mattATX OT Supporter

    Joined:
    Jun 6, 2003
    Messages:
    6,913
    Likes Received:
    1
    Location:
    ATX
    Well i cant get this crap to work and its making me mad if you can walk me through this and it works i will paypal to the first person who helps me make this work.
     
  7. IAMwhitey

    IAMwhitey New Member

    Joined:
    Nov 8, 2001
    Messages:
    1,010
    Likes Received:
    0
    Location:
    Pittsburgh, PA
    i have it runnin on my server... its pretty easy, you can shoot me an IM if you need some help
     
  8. IAMwhitey

    IAMwhitey New Member

    Joined:
    Nov 8, 2001
    Messages:
    1,010
    Likes Received:
    0
    Location:
    Pittsburgh, PA
    here is what my httpd.ini file looks like

    Code:
    [ISAPI_Rewrite]
    
    # Defend your computer from some worm attacks
    RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
    
    RewriteCond  Referer: .+
    RewriteCond  Referer: (?!http://(www\.)?pittspeed\.com).*
    RewriteCond  Referer: (?!http://(dev\.)?pittspeed\.com).*
    RewriteCond  Referer: (?!http://(forums\.)?vwvortex\.com).*
    RewriteCond  Referer: (?!http://(forums\.)?offtopic\.com).*
    RewriteCond  Referer: (?!http://(www\.)?honda-tech\.com).*
    RewriteCond  Referer: (?!http://(www\.)?1000rr\.com).*
    RewriteCond  Referer: (?!http://(www\.)?vwsport\.com).*
    RewriteCond  Referer: (?!http://(www\.)?gowhitey\.com).*
    RewriteCond  Referer: (?!http://(www\.)?sportbilen\.se).*
    RewriteCond  Referer: (?!http://(www\.)?fantomforce\.com).*
    RewriteCond  Referer: (?!http://(www\.)?pa-hondas\.org).*
    RewriteCond  Referer: (?!http://(www\.)?westpadsm\.com).*
    RewriteCond  Referer: (?!http://(www\.)?turn2usa\.com).*
    RewriteCond  Referer: (?!http://(www\.)?midnitechallenge\.com).*
    RewriteCond  Referer: (?!http://(www\.)?white-leaf\.com).*
    RewriteCond  Referer: (?!http://(www\.)?steelcitystangs\.com).*
    RewriteCond  Referer: (?!http://(www\.)?dub-tech\.com).*
    RewriteCond  Referer: (?!http://(www\.)?sportcompactracing\.com).*
    RewriteRule  .*\.(gif|jpg|png|bmp|jpe)  /bandwidth.gif [I,L]
    
     
  9. mattATX

    mattATX OT Supporter

    Joined:
    Jun 6, 2003
    Messages:
    6,913
    Likes Received:
    1
    Location:
    ATX
    You got aim? If so hit me up or post your aim name in here so i can contact you
     

Share This Page