Article 5E456 Is it possible to have two ".htpasswd" files?

Is it possible to have two ".htpasswd" files?

by
n00b_noob
from LinuxQuestions.org on (#5E456)
Hello,
I used "htpasswd" to create HTTP Authentication for the phpMyAdmin via https://www.tecmint.com/phpmyadmin-l...tion-htaccess/ tutorial and it's worked.
I want to add HTTP Authentication for the WordPress admin dashboard too and I did below command:
Code:# htpasswd -c /etc/httpd/.WPhtpasswd "Panel User"In the root directory of the WordPress, a .htpasswd" file existed and added below lines at the end of it:
Code:AuthType Digest
AuthName "Password Protected"
AuthDigestDomain /wp-login.php https://www.MyWebSite.com/wp-login.php
AuthUserFile /etc/httpd/.WPhtpasswd
Require valid-user
Satisfy AllThen I restarted the Apache service and when I browse the WordPress admin dashboard, then it asks me the username and password, but it doesn't work!!!
Can it because that I used the same username for Panel User" for the phpMyAdmin and WordPress?

Thank you.latest?d=yIl2AUoC8zA latest?i=LC9z0MoSSAM:7lOORRoS3eI:F7zBnMy latest?i=LC9z0MoSSAM:7lOORRoS3eI:V_sGLiP latest?d=qj6IDK7rITs latest?i=LC9z0MoSSAM:7lOORRoS3eI:gIN9vFwLC9z0MoSSAM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments