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
Phpmyadmin is not securing (with http auth)
I had followed all steps from below article to secure (auth) phpmyadmin, but it now showing auth popup.
Same steps working for my beta domain on separate droplet, while for live its not working, live is on separate high config droplet.
I also had compare beta and live files for auth functionality but all are identical, still live phpmyadmin is not securing by auth (while beta domain is secure by auth)
Below are my config files and code,
<Directory /usr/share/phpmyadmin> Options FollowSymLinks DirectoryIndex index.php AllowOverride All </Directory>
AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/phpmyadmin/.htpasswd Require valid-user
I also had restart apache (also restarted droplet), but its not working.
Do anyone had idea what could be the wrong/misconfigured?
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.×