WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] syntax error in htaccess (6 posts)

  1. jburke92
    Member
    Posted 1 year ago #

    in what appears to be the default htaccess code for this plugin, there is a syntax error:

    defiance-mobile :: /home/wptest/public_html/wp-admin $ grep P-ADMIN .htaccess

    P-ADMIN SECURE .HTACCESS text above
    # ADD WP-ADMIN FILE NAMES TO FILESMATCH MAKING THEM 403 FORBIDDEN
    # DENY BROWSER ACCESS TO WP-ADMIN INSTALL.PHP
    # BEGIN OPTIONAL WP-ADMIN ADDITIONAL SECURITY MEASURES:
    # WP-ADMIN DIRECTORY PASSWORD PROTECTION - .htpasswd
    # END OPTIONAL WP-ADMIN ADDITIONAL SECURITY MEASURES

    apache error_log:

    [Sat Jan 12 16:27:23 2013] [alert] [client <blah>]
    /home/wptest/public_html/wp-admin/.htaccess: Invalid command
    'P-ADMIN', perhaps misspelled or defined by a module not included in
    the server configuration, referer:
    <uri>/securemeadminwpsecure.php

    this appears to occasionally mess with wordpress causing an "uncompleteable redirect" error in firefox. adding the comment obviously remedies this issue but this should be fixed in the next update so it is not necessary for admins and site owners to do it themselves.

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    It appears that you have another plugin installed that is deleting, removing or overwriting the BPS wp-admin .htaccess code/file. The code you have posted is not BPS .htaccess code.

  3. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Oh actually this is bits and pieces of comments in the BPS wp-admin .htaccess file so something is overwriting/deleting the rest of the .htaccess code in that file.

  4. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    What is the status of this issue/problem? Thanks.

  5. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    What is the status of this issue/problem? Thanks.

  6. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Resolving

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.