Mailing List Archive

WordPress Login Page password protection not working!
Hello,
I set a password for my WordPress admin panel and its worked, but stopped suddenly!
I opened “.htaccess” file and added below lines to it:


### BEGIN DIGEST BLOCK
<Files wp-login.php>
AuthType Digest
AuthName "Protected by AskApache"
AuthDigestDomain /wp-login.php https://My_Web_Site.com/wp-login.php
AuthUserFile /etc/httpd/.WP
Require valid-user
Satisfy All
</Files>
### END DIGEST BLOCK


Then, used “htpasswd” command to create a panel username and password:


$ htpasswd -c /etc/httpd/.WP "Panel User"


And restarted my Apache service and everything worked, but stopped suddenly.
Why? How to solve it?


Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org