CMDCommand · run as root on the server · modsec family
urbestack-modsec-disabled-rule-add
First published 19 Nov 2026
0.2.30Unchanged since publicationUsage
# urbestack-modsec-disabled-rule-add --rules NUMBER[,NUMBER...] [--domain DOMAIN] [--as owner|administrator]Description
From the command's --help outputTurns off ModSecurity detection rules for one domain or for the whole server. Give --rules a comma-separated list of up to 200 rule numbers. Select detection rules that recognize attacks and add to a request's score. Exclude rules that total scores or block requests based on them, size limits, and custom rules. Use --domain to apply the change to one domain. Omit it to apply the change server-wide as an administrator. Use --as owner to let the domain's owner turn off up to 20 rules for that domain and re-enable them later. Only rules turned off by the owner count toward that limit. The default, --as administrator, has no per-domain limit. If an administrator turns off a rule the owner already turned off, only an administrator can re-enable it. When UrbeStack manages ModSecurity, it rewrites its Apache configuration for the change, tests Apache's configuration, and reloads Apache. If Apache rejects the configuration, UrbeStack restores the previous configuration and discards the change. The command returns the rules that are off at the selected scope, as urbestack-modsec-disabled-rules does.Usage: urbestack-modsec-disabled-rule-add --rules NUMBER[,NUMBER...] [--domain DOMAIN] [--as owner|administrator] Turns off ModSecurity detection rules for one domain or for the whole server. Give --rules a comma-separated list of up to 200 rule numbers. Select detection rules that recognize attacks and add to a request's score. Exclude rules that total scores or block requests based on them, size limits, and custom rules. Use --domain to apply the change to one domain. Omit it to apply the change server-wide as an administrator. Use --as owner to let the domain's owner turn off up to 20 rules for that domain and re-enable them later. Only rules turned off by the owner count toward that limit. The default, --as administrator, has no per-domain limit. If an administrator turns off a rule the owner already turned off, only an administrator can re-enable it. When UrbeStack manages ModSecurity, it rewrites its Apache configuration for the change, tests Apache's configuration, and reloads Apache. If Apache rejects the configuration, UrbeStack restores the previous configuration and discards the change. The command returns the rules that are off at the selected scope, as urbestack-modsec-disabled-rules does.
Options
Find other commands that accept these optionsSame in the API
These operations run the command.Generated from release 0.2.35 (current) · urbestack-modsec-disabled-rule-add --help outputThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/commands/urbestack-modsec-disabled-rule-add/