• Hi there,

    I have a few instances of wordpress installed (in different directories), and I seem to be having the same problem in each. For the most part, they run fine, allowing me to post and edit and manage and all that good stuff, but certain tasks – and only certain specifit tasks – lead to 406 errors (the tasks seemingly being those involving access to, rewriting or editing files on the server: editing themes and attempting to use Ecto/XML-RPC).

    I’ve tried the .htaccess fix (turning off mod_security), but when I put it in the blog directory (along with the rewrite fix to make permalinks decent-looking), I get a 500 error. When I try putting it in /wp-admin/, the blog itself (and permalnks) works fine but I get a 404 when I try to access WordPress.

    Any ideas or help would be greatly appreciated! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Generally speaking, IF you are turning off mod_security the correct way, by wrapping the code.. there will be no error that can caused by it.

    In other words,

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    is preferred over this:

    SecFilterInheritance Off

    Additionally, while Ive never heard of it, perhaps your host doesnt allow you to disable it, in which case you might get an error.

    dunno …

    Thread Starter Ciana

    (@ciana)

    oh, I didn’t even know you could do it in one line – I used the wrapped version, and still get the errors heh.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘406 Errors and .htaccess that doesn’t help!’ is closed to new replies.