Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
-1
rated 0 times [  -1] [ 0]  / answers: 1 / hits: 14941  / 3 Years ago, mon, august 23, 2021, 9:39:27

I am following this tutorial setting up phpMyAdmin:



https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04



I edit the .htaccess file at /usr/share/phpmyadmin/.htaccess



But I need to point it to a .htpasswd file of my choice.



Can I put it in /usr/share/phpmyadmin so it's next to .htaccess? Or can I put it in /var/www ?


More From » apache2

 Answers
2

It is NOT a good idea to place your .htpasswd file in /var/www.



You can place the .htpasswd pretty much anywhere other than your web folder. I would place it in /etc/phpmyadmin.


[#24371] Monday, August 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
freezidepu

Total Points: 394
Total Questions: 105
Total Answers: 118

Location: Libya
Member since Mon, Dec 7, 2020
3 Years ago
freezidepu questions
Tue, Apr 19, 22, 16:03, 2 Years ago
Fri, Nov 11, 22, 18:04, 2 Years ago
Sat, Mar 18, 23, 10:59, 1 Year ago
;