• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Contribution Site Import Extension with ModSecurity - Tip

trialotto

Golden Pleskian
Plesk Guru
@Everyone,

When using the Site Import Extension when having the Web Application Firewall (WAF/ModSecurity) activated with the Advanced ModSecurity Rules by Atomicorp, one will encounter some problems.

In essence, the following issues are present:

ROOT CAUSE OF THE PROBLEM: ModSecurity disallowing access

SYMPTOMS:
- file transfer and/or database transfer fails
- Fail2Ban database can become corrupted

SOLUTION:

1 - Go to the source server and login into the Plesk Panel,

2 - Go to "Tools & Settings > Web Application Firewall (ModSecurity) > Tab: Settings"

3 - add under "Configuration > Custom directives":

SecRule REMOTE_ADDR "@ipMatch <IP destination server>" id:101,phase:1,t:none,nolog,allow

and make sure to replace <IP destination server> with the proper IP.


Finally, with respect to the potential Fail2Ban database corruption, note that an additional thread will follow.

Hope the above helps a bit.

Regards........
 
Back
Top