This function lists ModSecurity™ configuration files. |
The system stores the configuration files in the /usr/local/apache/conf/modsec_vendor_configs
directory.
Examples
|
This function does not accept parameters.
Return | Type | Description | Possible values | Example | |
---|---|---|---|---|---|
configs
| array of hashes | An array of hashes of information about ModSecurity configuration files. | This array includes the | ||
| string | The configuration file's location. The function returns this value in the | A valid path, relative to the |
| |
| string | The vendor's unique short name. The function returns this value in the | A valid string. |
MyVendor | |
| Boolean | Whether the configuration file is active.
The function returns this value in the |
| 1 |
Function information
About WHM API 1Find a functionRelated functions |