AppConfig and Mod Security

Skin

Well-Known Member
Feb 3, 2006
93
4
158
Italy
This should work, file addon_modsec.conf in /var/cpanel/apps:
Code:
# name
name=addon_modsec

# Service that will serve this app
service=whostmgr
 
# Physical path: /usr/local/cpanel/3rdparty/Foo.php
# Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
url=/cgi/addon_modsec.cgi
 
# System user to run process as
user=root

# Required acls
acls=any

# Display name as show in the service ui
displayname=addon_modsec
then just run:
Code:
/usr/local/cpanel/bin/register_appconfig addon_modsec.conf
Thanks, problem solved.