httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <>
Subject [users@httpd] How to enable Crypt in .htpasswd on Windows (Apache 2.0.54)?
Date Tue, 22 Aug 2006 17:32:22 GMT
I have a published website with several protected directories using
various .htaccess/.htpasswd files. It has been working fine for about
10 years. The server is on a commercial webhost using Apache on Unix.

I keep a mirror of the official website locally on a Windows 2003 PC
and all works well except the user authentication, which is a PITA to
get working.

I dug down into this recently (again) and found that I can make it
work if I redo all of the .htpasswd files using the htpasswd.exe
program from the Apache installation, but I really do not want to
search for all these thousands of passwords and redo the file....

The catch is that all of the passwords are created using Crypt and by
some magic decision the Apache server on Windows seems not to
recognize these. It requires MD5 password storage instead. At least by
The htpasswd.exe file that ships with Apache refuses completely to
create Crypted passwords even though I use that command line switch.
It displays that it will use MD5 instead.

My question is simply this, HOW can I enable Apache on Windows to
accept Crypted passwords in the .htpasswd file?

Bo Berglund

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message