Posting Code Fragments On A Shared Server
Jump to navigation
Jump to search
Issue[edit]
Submitting a code fragment on a hosting service such as Namecheap causes a security error when posting things like SQL statements. 403 Forbidden error results.
Workaround[edit]
Update .htaccess on the site with the following:
<IfModule mod_security.c> SecRuleEngine Off SecRequestBodyAccess Off </IfModule>
Source: Namecheap problem when posting data from html form (StackOverflow)