[% USE Whostmgr; USE JSON; USE EasyApache; SET ea_version = EasyApache.get_ea_version(); SET easy_apache_url = Whostmgr.ENV.cp_security_token _ '/scripts7/EasyApache4'; SET PAGE_BASE = '/scripts2/show_mod_security/'; SET PAGE_NAME = Whostmgr.get_page_name_by_url(PAGE_BASE); WRAPPER 'master_templates/master.tmpl' header = locale.makevar(PAGE_NAME), breadcrumburl = PAGE_BASE, base = PAGE_BASE, stylesheets = [ Whostmgr.find_file_url('/templates/mod_security/index.min.css') ], theme='bootstrap', CJT2_EXCLUSIVE = 1, app_key='modsecurity_tools'; %]
[% locale.maketext('Info:') %] [% IF ea_version > 3 -%] [% locale.maketext('[asis,ModSecurity™] is not enabled on your server. With [asis,ModSecurity™] disabled, you can view historic data in the log. However, you will not get updated log data or be able to configure custom rules. Please refer to this document on [output,url,_1,how to install ModSecurity,target,_blank].', "https://go.cpanel.net/InstallModSecurity") %] [% ELSE -%] [% locale.maketext('[asis,ModSecurity™] is not enabled on your server. With [asis,ModSecurity™] disabled, you can view historic data in the log. However, you will not get updated log data or be able to configure custom rules. To enable [asis,ModSecurity™] go to [output,url,_1,EasyApache] and select [asis,Mod Security] as an option when rebuilding [asis,Apache].', easy_apache_url) %] [% END -%]
[% PROCESS 'master_templates/cjt2_header_include.tt' %] [% END %]