httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] Apache 2.2 authentication against a Mysql Database
Date Mon, 19 Nov 2012 15:10:16 GMT


----- Original Message -----
> Hello,
> 
> When I inserted the user in to the mysql database I have a field
> called password it's a varchar(64) field. For the password value I
> used mysql's sha function so the entry looked like:
> 
> sha('password')
> 
> won the insert line.
> 
> I'm not sure if that answers your question.

Let me repeat my last question: Does the password look like httpd
expects the password to look?

Now, let me quote from the document  
( http://httpd.apache.org/docs/2.2/misc/password_encryptions.html )
I linked: 

""""
SHA1

$ htpasswd -nbs myName myPassword
myName:{SHA}VBPuJHI7uixaa6LQGWx4s+5GKNE= 
""""

Does your password look like this?

   {SHA}VBPuJHI7uixaa6LQGWx4s+5GKNE=


i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message