The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block GET Requests to specific files

Discussion in 'General Discussion' started by dannet, Apr 11, 2009.

  1. dannet

    dannet Member

    Joined:
    May 7, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Hello, I am getting a lot of GET requests from different IPs to four nonexistent PHP files on my server. Is there any way to block the requests to avoid the resources use of apache that these requests are generating?

    I have installed mod_security but Im not sure about how the block rule should be.

    The requests are going to images/log.php, images/log2.php, images/log3.php and images/logi.php of one of the sites hosted on the server, is there any way to block there requests for a specific domain or path?

    Thanks in advance
    Daniel
     
Loading...

Share This Page