httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <>
Subject Re: Apache 2.0 Authentication on Windows 2000
Date Thu, 01 Aug 2002 03:50:31 GMT

The htpasswd.exe utility on Windows bundled with 2.0.39 has known bugs that
have been fixed for 2.0.40  You can use previous versions, they are ok. 

>From the Changelog:
*) Fix a silly htpasswd.c logic error that incorrectly reported that
   both -c and -n had been used.  PR 9989  [Cliff Woolley]


On Thu, Aug 01, 2002 at 12:29:21AM -0300, Charles Tassell wrote:
> Hello,
>   I'm attempting to protect a folder with .htaccess files on a Windows 
> 2000 box running Apache 2.0.39,, and have run into a lot of problems:
> htpasswd doesn't work at all.  If you try to create a new file with -c it 
> says that -c and -n can't be used together, even when you didn't specify 
> -n.  When you try to update an existing file, it says that the file is in 
> use by another program (even if there is no way that it is) and refuses to 
> operate.
> When you create a file manually, using either crypt or md5 passwords, it 
> will not work on the index file of a directory (ie protected/ or 
> protected/index.html) but the password prompt will come up for other files 
> (ie protected/test.html)  Unfortunately, the password won't work.  Below is 
> a copy of my htaccess file and htpasswd file:
> md5:$1$SpzxGCwO$d/5er/V4rcO7iVGuVqQkN/
> crypt:kJP/h0ey2MkHc
> AuthUserFile    C:/Apache2/passwd.txt
> AuthName        "Private Area"
> AuthType        Basic
> <Limit *>
> order deny,allow
> require         valid-user
> </Limit>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Teach Yourself Apache 2 --

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message