Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    320
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 albatroz, Sep 23, 2015
    Last edited by a moderator: Sep 23, 2015
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hmm it looks like that directory is used with CloudLinux when using mod_lsapi
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Are you able to reproduce the issue when running the "/scripts/rebuildhttpdconf" command on this system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice