• Resolved ParkerK

    (@parkerk)


    Okay, I installed the AskApache Password plugin and told it to protect anything in the /wp-admin/ directory. But, now even I cannot access the directory! I know I could just edit the .htaccess in /wp-admin/ but I want to know how to login so I can keep the directory protected, but have access myself!

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ParkerK

    (@parkerk)

    Okay, I deleted the .htaccess in /wp-admin/ and it’s all good now, but that means that others can still access the /wp-admin/ directory! How can I lock others out and still allow access for myself?

    Delete That plugin and search the net for a .htpasswd generator and follow instructions. That should allow you to protect directory. If you have a static IP and wanted to make it even safer forget about .htpasswd and block all IPs except your own(can be found at https://whatsmyip.org/)

    I have used AskApache to protect (among others) the admin folder for about a year. What errors do you get? I do have problems with newer versions (error pages), but I haven’t tried the last one yet (and new ones are released every day ?? ).

    I installed the AskApache Password Protect 4.3.2 on WordPress 2.6 and see this:

    .htaccess Capabilities Tests
    [ FAILED ] .htaccess capability detection
    https://mysite.tld/wp-content/askapache/test.php
    Received Response Code:
    ....
    Encryption Authentication Working
    ...
    [ FAILED ] PLAIN encryption capability detection
    Received Response Code: 401 Unauthorized
    Received Response Code:
    
    [ FAILED ] MD5 encryption capability detection
    Received Response Code: 401 Unauthorized
    Received Response Code:
    
    [ FAILED ] CRYPT encryption capability detection
    Received Response Code: 401 Unauthorized
    Received Response Code:
    
    [ FAILED ] SHA1 encryption capability detection
    Received Response Code: 401 Unauthorized
    Received Response Code:

    and this plugin dont work for me…
    how i can resolved this?

    Ah, those are server settings of functions that you probably don’t have. You didn’t perhaps CHMOD anything to no writing for everyone? Does your server support htaccess. AskApache is usually pretty quick with answering on this forum, but maybe they’re on holidays. You might want to try their own site, but there’s not much going on their either it seems. Anyway, to me it seems that the plugin works alright, but you don’t meet the requirements so you only get to see the initial checks. When I activate the plugin in most cases it isn’t “failed” but “ok” and then I continue with the settings. So, try to light your candle at your host, since especially this one doesn’t sound good:

    [ FAILED ] .htaccess capability detection

    There’s nothing the plugin can do if it can’t make/edit the htaccess.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AskApache /wp-admin/ protection’ is closed to new replies.