• 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

mod_security - rule for the whole webmail.*

albans

Regular Pleskian
Hi,

I was wondering if it was possible to make an exclude rule for mod_security for the whole webmail on PSA...

What I mean is defining a rule that'll exclude some Filters when matching something like "*webmail.*".

Is it possible?

In an other way, would it be possible to use an .htaccess with
SecFilterEngine Off
in it placed in the root path of Horde? I couldn't find the path corresponding to webmail.*...

Thanks for your advice!
 
I finally ended up with only this rule concerning Horde/IMP:

<Directory /usr/share/psa-horde>
SecFilterRemove 300013
SecFilterRemove 300015
SecFilterRemove 300016
SecFilterRemove 300018
SecFilterRemove 300040
</Directory>

I put it in exclude.conf (mod_security config files). It works well.

For more informations, see this thread on Atomic.
 
Back
Top