Home General questions '403 Forbidden' or 'Not Acceptable' errors...
'403 Forbidden' or 'Not Acceptable' errors after submitting forms that contain 'curl', 'perl', 'set', 'file', etc.
Most probably your webserver has mod_security enabled. The mod_security feature scans all incoming posts for forbidden words or phrases that might indicate someone is trying to hack the system, and if any of them exist then Apache returns the 403 Forbidden error. Common phrases that tend to trigger mod_security include curl, wget, set, file(, and system(, although there are many others.
To disable 'mod_security' for your website:
- Open the .htaccess file located in the root directory of your CS-Cart installation.
- Add the following part of code there:
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> - Save the file.
- It does not help on some server, in this case contact your server administrator.
