Get your free beta license ↗
CMDCommand · run as root on the server · modsec family

urbestack-modsec-disabled-rule-del

First published 19 Nov 20260.2.30Unchanged since publication

Usage

2 forms
# urbestack-modsec-disabled-rule-del --rule NUMBER [--domain DOMAIN] [--as owner|administrator]
# urbestack-modsec-disabled-rule-del --id ID

Description

From the command's --help output
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 options

Same in the API

These operations run the command.

More in modsec

13 commands, by what they work onView all commands in this family →
urbestack-modsec-disabled-
urbestack-modsec-disabled-rule-
urbestack-modsec-rule-
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/