• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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