Forums

htaccess lock out after 2.3.1 upgrade (4 posts)

  1. ciprol
    Member
    Posted 2 years ago #

    Updated my wp blog from 2.2.2 to 2.3.1 and after the upgrade script, I could no longer access the page. The system alert read as below,

    [Thu Nov 8 01:02:47 2007] [alert] [client 58.173.19.206] /big/dom/domain/www/blog/.htaccess: Invalid command '</Limit>#', perhaps mis-spelled or defined by a module not included in the server configuration

    Being a non-programmer, I think I modified an existing .htaccess file. Within it, I can see two sections where the Limit command is used.

    <Limit GET POST>
    require valid-user
    </Limit>

    <Limit GET POST>
    Order Allow,Deny
    Allow from all
    Deny from env=bad_bot
    </Limit># BEGIN WordPress

    Any suggestion as to what the problem might be, in particular that relates to 2.3.1?

    Thanks.

  2. flwong
    Member
    Posted 2 years ago #

    Hi there,

    I have the same problems too. After the upgrade, my site totally off, the blog gone heywire??

  3. ciprol
    Member
    Posted 2 years ago #

    Ok, I've uncommented the second set of <Limit> command and the problem has been fixed. Worth a try on your end.

    But still hoping for a more expert comment on this solution and implication.

  4. uncladchef
    Member
    Posted 2 years ago #

    I would start with deleting the entire content of your .htaccess file, then making sure your permalinks options are set to what you are looking for. If wordpress has write access to .htaccess, which it most likely does, it will rewrite it the way it wants.

Topic Closed

This topic has been closed to new replies.

About this Topic