The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

AskApache Password Protect
keeps shutting me out of dashboard/admin (1 post)

  1. Savage702
    Posted 5 years ago #

    I really like the idea behind this. I just can't get it to play nicely. Anytime I get to locking down wp-admin, I can't log back in (get 404 errors). I have to remove the lines from .htaccess in wp-admin to get back in.

    My WP install is in the root of my www (html_public) folder... fairly default save for 1 theme and a few plugins (which at this point I've disabled).

    AuthType Digest
    AuthName "Protected By AskApache"
    AuthDigestDomain / http://mydomain.com/
    AuthUserFile /home/mydomain/.htpasswda3
    Require valid-user
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|mp3|mpg|mp4|mov|wav|wmv|png|gif|swf|css|js)$">
    Allow from All
    <FilesMatch "(async-upload|admin-ajax)\.php$">
    <IfModule mod_security.c>
    SecFilterEngine Off
    Allow from All

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AskApache Password Protect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic