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.

httpd: could not open document config

Discussion in 'General Discussion' started by bt4, Jul 11, 2011.

  1. bt4

    bt4 Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    root@server [~]# httpd restart
    httpd: could not open document config file /usr/local/apache/conf/modsec2.user.conf

    what is my problem? i have remote this file on my server how i can restore this file
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    That error message indicates the following file does not exist, or is not accessible:

    Code:
    /usr/local/apache/conf/modsec2.user.conf
    This file needs to exist if you have enabled Mod Security via EasyApache. You can either create the file and leave it empty with no rules, add your own custom rules, or add the default rules which can be found in the following file:

    Code:
    /usr/local/apache/conf/modsec2.user.conf.default
    Thank you.
     
  3. bt4

    bt4 Well-Known Member

    Joined:
    Jul 1, 2010
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    thanks CM :)
     
Loading...

Share This Page