• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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