Question
Problem securing phpMyAdmin with htaccess & htpasswd
Fresh Droplet :
UBUNTU 14.04.x64
LAMP 14.04
I’ve followed the instuctions provided on :
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-14-04
But somehow it doesn’t work.
If i go to http://MY_IP_ADDRESSS/phpmyadmin/
no window prompted to input username and password.
I’ve check the phpmyadmin.conf, .htaccess and .htpasswd files and all of those files seems good.
phpmyadmin.conf
<Directory /usr/share/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php
AllowOverride All
.htaccess
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/phpmyadmin/.htpasswd
Require valid-user
.htpasswd
username:$xxx1$xxx...xxx...xxx...xxx/XXXXX
What is wrong ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×