Need a little help on .htaccess

Discussion in 'Site & Server Administration' started by obenix, Sep 27, 2006.

  1. #1
    I've some issue with unknown traffic that seem to be referred using scripts
    Read about them in this thread: http://forums.digitalpoint.com/showthread.php?t=148407

    Since all the referrals are coming from multiple domain but similar script URLs, e.g. www . somedomain . com /scripts/runner.php
    I was wondering if the code below will be able to block these kind of traffic.

    
    RewriteEngine on
    # Options +FollowSymlinks
    RewriteCond %{HTTP_REFERER} /scripts/runner\.php [NC]
    RewriteRule .* - [F]
    Code (markup):
    Would appreciate any help. Thanks..
     
    obenix, Sep 27, 2006 IP
  2. DaveMcF

    DaveMcF Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Actually, I'm having the same problem.

    Any ideas out there if this will work?
     
    DaveMcF, Oct 3, 2006 IP