I get “You don’t have permission to access /imp/basic.php on this server” error when trying to send e-mail in horde webmail

 

Hello everyone ,

Today i got some interesting problem with our client in Linux Plesk server.

I use : OS : CloudLinux Server 6.5 + Panel version : 11.5.30

 

Symptoms of that problem

When trying to send e-mail or do some changes in the webmail , following error appears:

or

 

Apache error:

 

Resolution of this problem

Very simple , you just need to know if mod_security working in that server.

If it enabled and working you need to check first thing: LOGS and see mod_security error.

You need to configure mod_security properly or disable it from apache configuration.

 

Links :

About mod_security

https://www.modsecurity.org/

http://en.wikipedia.org/wiki/ModSecurity

 http://kb.sp.parallels.com/en/5546

 

Little explanation regarding Mod Security

Mod_security is an apache module that helps to protect your website from various attacks. It is used to block commonly known exploits by use of regular expressions and rule sets and is enabled on all InMotion servers by default. Mod_Security can potentially block common code injection attacks which strengthens the security of the server. If you need to disable the mod_security rules we can show you how, and help you do so.

When coding a dynamic website, sometimes users forget to write code to help prevent hacks by doing things such as validating input. Mod_security can help in some cases those users that run sites that don’t have security checks in their code.

 

Good luck ,