• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

robert miller

New Pleskian
I am attempting to install, enable, and configure ModSecurity on our Windows Plesk 12.5 servers. The ' --enable ' option requires a config file but I can not find any documentation on the format of this file. Can you please let me know the settings/format for "modsecuritymng --enable --config=" and any other settings I would need for enable a custom ruleset from command line?

& $env:plesk_bin\ai.exe --select-product-id panel --select-release-current --install-component modsecurity
& $env:plesk_bin\modsecuritymng --install-ruleset --with-backup --ruleset=custom --archive-path=C:\temp\rules.conf
& $env:plesk_bin\modsecuritymng --enable --config=C:\temp\config.tmp
& $env:plesk_bin\modsecuritymng --enable-ruleset --ruleset=custom
 
Back
Top