WordPress.org

Forums

[resolved] 406 Not Acceptable (6 posts)

  1. eagle35
    Member
    Posted 6 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.

    Thanks,
    Max

  2. whooami
    Member
    Posted 6 years ago #

  3. eagle35
    Member
    Posted 6 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
    Member
    Posted 6 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
    Member
    Posted 6 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
    </IfModule>

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

  6. whooami
    Member
    Posted 6 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