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.
To solve this error, @qtwrk's comment is correct that you must use the following code in your .htaccess.
WordPress running on Litespeed Server will often fail with a 403 error when you try to post any content while creating new pages and posts in WP Admin. This code solves that issue.