Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Easypopulate error 406 after Apache upgrade


Recommended Posts


Our script has started throwing a 406 error right from the first page of easypopulate.php ... Server's been upgraded; is more security conscience now ...


mod_security: Access denied with code 406. Pattern match "insert( |\n)+into" at POST_PAYLOAD


Is there anything we can change in the script to fix the condition causing this error ?

Link to comment
Share on other sites

My guess is that the contribution would require a pretty tough change to eliminate the use of "\n" in some of it's uploads.


The apache mod is checking all of the "POST" data against certain patterns to hedge against hackers etc. The backslash is one of those patterns.


See if your host will turn off the POST_PAYLOAD check of the apache mod. Otherwise I don't know of another option. Also, you might be able to turn it off via .htaccess - you'd need to check with your host on this as well.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...