Re: httpd basic authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux