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.

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:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page