Blogging is easy
Click to go back to LightNEasy website.
This is a light, fast blog script that uses no database.
It is perfect for a personal blog, as long as you don't intend to make thousands of posts. If so, then use the database version.
You can get BlogNEasy from here.
Error 406 - Not Acceptable
- Posted at 10/24/12 - 01:34 AM
Sudently, out of the blue, many CMSs stopped allowing the webmaster to edit their content, presenting a cryptical message Error 406 - Not Acceptable when submitting new content to the CMS.
The problem lies in a new Apache module, mod_security.c, that started being on by default in the webservers. This module detects any characters passed by POST that it considers problematic and a hacking attempt.
A way of "fixing" this issue is by adding the following lines to the .htaccess file:
which disables the module, provided that the webserver is not configured to overwrite the .htaccess file.
It seems mod_security considers certain characters a no-no, and those characters may be present if you are using text encoding while saving. Also, it seems that LNE markers in the text are also considered dangerous.
I will have to test this thoroughly in order to make it work with mod_security on, which will eventually force me to change the LNE markers