Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Problem securing phpMyAdmin with htaccess & htpasswd
Fresh Droplet :
I’ve followed the instuctions provided on :
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.
<Directory /usr/share/phpmyadmin> Options FollowSymLinks DirectoryIndex index.php AllowOverride All
AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/phpmyadmin/.htpasswd Require valid-user
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.×