Re: htpasswd question
| From: | metac0m | Date: | Wed, 29 Jan 2003 21:15:41 +0000 |
| Subject: | Re: htpasswd question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18193@lists.php.net to get a copy of this message | ||
create an .htpasswd file like this:
C:\Apache\bin>htpasswd -c c:\.htpasswd USERNAME
Automatically using MD5 format.
New password: ******
Re-type new password: ******
Adding password for user USERNAME
If look in the .htpasswd you see that the pass is different thatn if you
use crypt or md5 to encrypt the same password.
--
SWAMP (Secure Windows Apache Mysql Php) is a fully configured,
installation of Apache (mod_ssl), PHP, MySQL, OpenSSL and related
administrative tools for Windows(TM) NT/2000/XP
http://swamp.sourceforge.net
http://sourceforge.net/projects/swamp/
"Dominik Wittenbeck" <webmaster@developaz.com> wrote:
>
> I am currently trying to create a .htpasswd file for apache using PHP and
> the crypt() on Win2k. I can generate the file alright but it does not work.
> I have looked into some classes as well and all use the crypt() function.
> The reason for this not working is probably the algorithm used because the
> passwords within a .htpasswd created with apache looks a hell lot different
> using something like
>
> $apr1$rB2.....$8iUWArWEsTQ2553kjk22NS1 (not a real password by the way)
>
> anyone having experience with that? Something up because I use windows?
>
> Dominik Wittenbeck
> ----------------------------------------------------------------
> E-Mail: webmaster@developaz.com
> URL: http://www.developaz.com
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>