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!

blocking a not existing uri

Discussion in 'General Discussion' started by 50c, Sep 6, 2005.

  1. 50c

    50c Active Member

    Joined:
    Jun 26, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    UK
    Hi,
    how can i block a non existing html file in htaccess?
    Some good guy is requesting a nonexisting html file from my domain and eating up my sever load. Is it possible to block that file so that apache wont even react on that request?
    :confused:

    The floods come from different ips and always requesting this html:

    GET /paypopup.html HTTP/1.1

    The bandwidth has raised from day to day because i have a 404 error redirect to the main site.

    Thanks

    Best Regards

    MIKE
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Your best bet would be to install mod_security on the server and filter out that page using a SecFilter.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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