On 03/26/2014 07:12 AM, Pankaj Singh wrote: > You need to create a user in the .htpasswd database to authenticate > with the file. > > > > > Thanks > Pankaj Singh Hi Pankaj,
after that I modified the file in /etc/apache2/conf.d/phpmyadmin, I gave the command: # htpasswd -bc /etc/phpmyadmin/htpasswd.setup test test and in console I saw: Adding password for user test next step, service apache2 restart but doesn't work > > > On Wed, Mar 26, 2014 at 5:14 AM, Paolo De Michele > <pa...@paolodemichele.it <mailto:pa...@paolodemichele.it>> wrote: > > Hi everybody, > > I configured a basic httpd authentication via apache2. Look below: > > <Directory /usr/share/phpmyadmin/setup> > <IfModule mod_authn_file.c> > AuthType Basic > AuthName "phpMyAdmin Setup" > AuthUserFile /etc/phpmyadmin/htpasswd.setup > </IfModule> > Require valid-user > </Directory> > > So, I rebooted apache2 but the authentication doesn't work > > Where is the problem? > Can I fix it? > > Thanks in advance, > Regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > <mailto:users-unsubscr...@httpd.apache.org> > For additional commands, e-mail: users-h...@httpd.apache.org > <mailto:users-h...@httpd.apache.org> > >