CMDCommand · run as root on the server · modsec family
urbestack-modsec-disabled-rule-del
First published 19 Nov 2026
0.2.30Unchanged since publicationUsage
2 forms# urbestack-modsec-disabled-rule-del --rule NUMBER [--domain DOMAIN] [--as owner|administrator]# urbestack-modsec-disabled-rule-del --id IDDescription
From the command's --help outputRemoves the setting that turns off a ModSecurity rule for one domain or for the whole server. Use --rule with --domain to select a domain setting. Omit --domain to select the server-wide setting. Use --id to select an entry by its ID in the administrator's list from urbestack-modsec-disabled-rules. The entry determines the scope. The default is --as administrator. Use --as owner with --rule and --domain to restore a rule the domain's owner turned off. Only an administrator can restore a server-wide rule or one an administrator turned off for a domain. 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 still off at the selected scope.Usage: urbestack-modsec-disabled-rule-del --rule NUMBER [--domain DOMAIN] [--as owner|administrator] urbestack-modsec-disabled-rule-del --id ID Removes the setting that turns off a ModSecurity rule for one domain or for the whole server. Use --rule with --domain to select a domain setting. Omit --domain to select the server-wide setting. Use --id to select an entry by its ID in the administrator's list from urbestack-modsec-disabled-rules. The entry determines the scope. The default is --as administrator. Use --as owner with --rule and --domain to restore a rule the domain's owner turned off. Only an administrator can restore a server-wide rule or one an administrator turned off for a domain. 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 still off at the selected scope.
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-del --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-del/