• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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