Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    50c
    50c is offline
    Member
    Join Date
    Jun 2004
    Location
    UK
    Posts
    29

    Angry blocking a not existing uri

    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?


    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Your best bet would be to install mod_security on the server and filter out that page using a SecFilter.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 08-07-2011, 05:23 AM
  2. PHP update, now include "uri" doesn't work
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-05-2010, 03:30 PM
  3. Existing hostname
    By ASTRAPI in forum New User Questions
    Replies: 2
    Last Post: 05-22-2009, 01:39 PM
  4. Tie existing MySQL databases to existing users
    By wholehog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-29-2007, 05:47 PM
  5. Using a SSH Command to Connect Existing DBase User to Existing DBase?
    By tm2004 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-05-2006, 06:42 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube