I am facing a problem when trying to post data to my PHP from html form. The issue is as follows:
Error message image
To solve this error, @qtwrk's comment is correct that you must use the following code in your .htaccess.
<IfModule mod_security.c>
SecRuleEngine Off
SecRequestBodyAccess Off
</IfModule>
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With