Symptoms
-
Files like
.htaccess
orwp-config.php
cannot be opened nor edited in Plesk File Manager via CodeEditor. They just keep loading: -
Going to Tools & Settings > Web Application Firewall (ModSecurity) > Web application firewall mode is set to On
-
Nginx is uninstalled, disabled, or its service is not running:
# plesk sbin nginxmng –status
Disabled# plesk sbin nginxmng –status
Error: Nginx component is not installed.
Cause
Product issue:
- #PPPM-12921 “Cannot open wp-config in CodeEditor on the server without Nginx and with enabled ModSecurity”, which is scheduled to be fixed in the upcoming versions of Plesk.
Resolution
As a workaround, apply one of the following steps:
-
Disable ModSecurity at Tools & Settings > Web Application Firewall (ModSecurity) > Web application firewall mode.