Auth user with postgresql

Giuseppe Tofoni gt0057 at
Sat Feb 18 10:49:00 UTC 2012


In my database passwords are all stored in MD5 has been created using PHP.
The value in the database for user pippo is h7n37SzKs.aO6 and there
are no problems with APACHE
I used the same password with python and there are no problems.

I would like to use nginx but if I do not solve the problem of the
passwords can not leave APACHE and PHP.

Many Many thanks for your patience


2012/2/18 Piotr Sikora <piotr.sikora at>:
> Hi,
>> I have no errors, nginx starts correctly, but the password  are
>> calculated differently:
>> password : pippo
>> created with  htpasswd       h7n37SzKs.aO6    (test with
>> auth_basic_user_file is ok)
>> created with set_md5         0c88028bf3aa6a6a143ed846f2be1ea4   error
> Uhm, and what value do you have in the database?
>   MD5("pippo") = 0c88028bf3aa6a6a143ed846f2be1ea4
> so it would seem that you don't store MD5 hashes after all?
> Best regards,
> Piotr Sikora < piotr.sikora at >
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list