• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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