Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function sets a global ModSecurity™ configuration directive. |
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Panel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
|
Parameters
Parameter | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
setting_id | integer | Required The setting's ID.
| A non-negative integer.
| 8 | |||||
state | string | Required The setting's new state. The function uses this string as a valid argument for the directive. | 2000 |
Returns
Return | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
default | string | The setting's default value. | A valid string | 1500 | |||||
description | string | The setting's description. | A valid string.
|
| |||||
directive | string | The setting's Apache directive. | A valid directive name. | SecPcreMatchLimit | |||||
name | string | The setting's name. | A valid string. | PCRE library match limit | |||||
radio_options | array of hashes | An array of hashes of the options that the client should display, as buttons, for this setting in a user interface.
| Read the Radio options section below for a list of possible values. | ||||||
setting_id | integer | The setting's ID. | A valid non-negative integer. | 8 | |||||
state | integer | The setting's new state. | The argument to the directive. | 2000 | |||||
type | string | The type of UI control that the client should use to represent the setting. |
| text | |||||
url | string | The URL for the setting's documentation. | A valid URL. |
| |||||
validation | array | An array of validators to apply. | Read the Validators section below for a list of possible values. |
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About WHM API 1
Find a function
Related functions
|