[resolved] 406 Not Acceptable (6 posts)

  1. eagle35
    Posted 8 years ago #

    I have the 2.51 version and I get this message every time I try to edit and then re-save a post that I've already published.
    Not Acceptable
    An appropriate representation of the requested resource /wp-admin/post.php could not be found on this server.

    Apache/1.3.41 Server at lostluvback.com Port 80
    I didn't have this issue with earlier versions of WordPress.


  2. whooami
    Posted 8 years ago #

  3. eagle35
    Posted 8 years ago #

    Do I name the file .htaccess.php or just .htaccess?

    Also my error is about the post.php. Are all 406 errors the same even though in the other posts they say index.php and page.php ?

  4. whooami
    Posted 8 years ago #

    quoting myself:

    Rename the uploaded file to .htaccess (with the .)

    IF YOU DO HAVE an .htaccess in your wp-admin/ directory:

    most 406, if not nearly all 406 errors that occur when using WP are a result of mod_security

  5. eagle35
    Posted 8 years ago #

    It didn't work so I looked back at older posts and found this code that addresses the "post.php" error.

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off

    I put this code in the .htaccess file and it appears to be working. At least for now.

  6. whooami
    Posted 8 years ago #

    lol, youre welcome :)

    "it" did work, and im not sure what you mean by "it" not working. The entire point of my sending you back to those other posts was to get you to disable it. Thats exactly what you did, and it does work.

Topic Closed

This topic has been closed to new replies.

About this Topic