View Full Version : [SOLVED] can apache mod_auth use md5 hashes?
r.lopez.negrete
May 24th, 2010, 09:52 PM
Hi all,
I'm trying to figure out if I can force apache's mod_auth to use md5 hashed passwords. Is this possible and if so, how is this set up?
Thanks,
Rodrigo
lisati
May 24th, 2010, 09:58 PM
Moved to "Server Platforms"
lisati
May 24th, 2010, 11:38 PM
I notice that this thread is marked "Solved". I'm curious as to why......
cdenley
May 25th, 2010, 01:51 PM
It should work just fine with an MD5 hash generated with crypt. I use PHP to generate a password file which apache uses with mod_auth.
$fh=fopen('/path/to/password/file','a');
fwrite($fh,$user.':'.crypt($pass)."\n");
fclose($fh);
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.