I am facing a problem when trying to post data to my PHP from html form. The issue is as follows:
- When I submit less data like a 1 paragraph of Lorem Ipsum it works fine.
- Submitting more paragraphs it fails instantly with error 403 Forbidden.
- Tried solving using SecFilterScanPOST Off on .htaccess but to no avail.
Better to spend more time understanding the main reason and for example configure mod_security for Wordpress:
Based on this article you can disable some rules directly for
wp-admin
directory:Based on this article you can disable some rules directly for sub-directories:
If you want to be sure that
mod_security
is used you can wrap the settings above in this: