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.

File does not exist: /usr/local/apache/htdocs/*

Discussion in 'General Discussion' started by postcd, Jun 17, 2015.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    i see many log entires like following ones in WHM server apache error_log

    Please why/how they accessing:
    /usr/local/apache/htdocs/

    ?

    Normal apache error log entries looks like:

    this accessing /home/username/public_html folder .. but why that above malicious requesting /usr/local/apache/htdocs/ ?

    Any way to prevent? Thank you
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    That could have been a ddos attack on your server to make it busy or slow. Are you seeing similar IPs with such incoming requests ?
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Thanks, the IPs were rather not similar. And i dont think it was as intensive enough to be attack. My aim is not to block them manually, but discover how that happens and how to prevent.. as per my first post, thx
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The "/usr/local/apache/htdocs/" directory is the default directory for access attempts to domain names without a VirtualHost entry in the Apache configuration file, or for IP addresses that resolve to your server. You can block the IP addresses making those requests in your firewall.

    Thank you.
     
Loading...

Share This Page