Mod security2 Apache vhost error

Discussion in 'Installation/Configuration' started by Lodivod, Nov 4, 2019.

  1. Lodivod

    Lodivod Member

    There is an error in generating vhost in the mod_security2 section.
    This section is inside other section (mod_dav) and not work. After manual repair, everything works until the ISP regenerates vhost.
    Adding screeenshot:
    isp_mod_security2_vhost_error.png
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    And what did you change?
     
  3. Lodivod

    Lodivod Member

    I need to change SecRuleRemoveById on some sites.
    I have to remove the entire section from the mod_dav section and put it separately above it.
    But if I make some changes to the domain, the vhost will regenerate and it is wrong again.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. Lodivod

    Lodivod Member

    Ok, thanks.
    The error is in the template vhost.conf.master
     

Share This Page