Nextcloud version 13.0.1
Operating system and version Debian Jessie
Apache version 2.4.10-10+deb8u11
PHP version 5.6.38-0+deb8u1
I’m having some issues by ModSecurity and Nextcloud.
ModSecurity print me some error log output:
[...] ModSecurity: Error reading request body: Partial results are valid but processing is incomplete [...]
With the consequence of causing the synchronization of some files to fail.
Reading some other posts, I’ve seen that Nextcloud doesn’t support ModSecurity.
What do you suggest about this issue? Should I disable ModSecurity?
And eventually, what is the best way for disable ModSecurity only for Nextcloud?
I’ve try editing the Nextcloud virtual host (SecRuleEngine):
<Directory "/var/www/owncloud/data/"> # just in case if .htaccess gets disabled Require all denied SecRuleEngine Off </Directory>
and reloading and restarting Apache, with no luck.
Many many thanks!