Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Block GET Requests to specific files

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

  1. dannet

    dannet Member

    May 7, 2006
    Likes Received:
    Trophy Points:
    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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice