httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo De Michele <pa...@paolodemichele.it>
Subject Re: [users@httpd] httpd basic authentication
Date Wed, 26 Mar 2014 17:11:26 GMT

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
> <paolo@paolodemichele.it <mailto:paolo@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-unsubscribe@httpd.apache.org
>     <mailto:users-unsubscribe@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <mailto:users-help@httpd.apache.org>
>
>


Mime
View raw message