Hello, I am running Apache2 in my server and the following configuration: I've installed phpMyAdmin and I linked from /usr/shared/phpmyadmin to /var/www/phpmyadmin I have few websites in the server using sites enabled so I have: /var/www/domain1/ /var/www/domain2/ ... If I write on address bar the following: Code: www.domain1.com/phpmyadmin the user will go to phpmyadmin page, it is not protected. How can I protect this directory with user and password? I tried the following: I create a .htaccess file with the following info inside /var/www/phpmyadmin Code: AuthUserFile /etc/secret/.htpasswd AuthName "Login page" AuthType Basic Require valid-user And I create a .htpasswd file in /etc/secret with the following info: Code: User1:PasswordEncriptedWithmd5 But the result is nothing, when I put on url address Code: www.domain1.com/phpmyadmin the page show all without protection. I think that I need to add another thing but I don't know what is. Anyone can help me? Thanks in advance!