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.

Failed to generate a syntactically correct Apache configuration

Discussion in 'Security' started by albatroz, Sep 23, 2015.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    258
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I recently purchased the Config Server modsecurity service, however I am having an issue when I try disable modsecurity for a particular domain or disable a particular rule.

    I get the error message of this picture - Removed -
    and the rules are never disabled, so the only option I have when a problem with a modsecurity rule
    appears is to disable mod security completely.

    I asked Configserver support and they sent me the following response.

    What do you think?

    rstrtlgln43.png
     
    #1 albatroz, Sep 23, 2015
    Last edited by a moderator: Sep 23, 2015
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Does /usr/local/apache/conf/conf.d even exist? I am pretty sure that isn't something cPanel has by default. Does ConfigServer say they use that directory
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hmm it looks like that directory is used with CloudLinux when using mod_lsapi
     
  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
Loading...

Share This Page