This is a discussion on Basic authentication problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e. Basic authentication does not accept my ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e. Basic authentication does not accept my password. Ex: user 'frank' and password 'sinatra'. Depending on my password file, I get the following errors: - frank:mlVo7KaArYZhg (from htpasswd) -> dialog box -> frank/sinatra -> user frank: authentication failure: Password Mismatch - frank:$apr1$9U1.....$C.5OJhZ4UxxM9SIzv4XAY0 -> no dialog box -> configuration error: couldn't check access. No groups file? - frank:{SHA}7DUut/wAuxmp4mKiKKNr9eEUeG0= -> no dialog box -> configuration error: couldn't check access. No groups file? So, MD5 & SHA-1 are not used, CRYPT well. <Location "/"> Authname "MyApp" AuthType Basic AuthUserFile conf/users.auth Require valid-user </Location> PS: Under Windows, 'htpasswd.exe -nbd', responds 'Automatically using MD5 format' !?! |
|
|||
|
<nickgearls@gmail.com> schreef in bericht
news:1190966536.199581.309120@d55g2000hsg.googlegr oups.com... > Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e. > Basic authentication does not accept my password. > > <Location "/"> > Authname "MyApp" > AuthType Basic > AuthUserFile conf/users.auth > Require valid-user > </Location> > > PS: Under Windows, 'htpasswd.exe -nbd', responds 'Automatically > using MD5 format' !?! Both default and inability to crypt on windows are documented http://httpd.apache.org/docs/2.2/programs/htpasswd.html If you need cross-platform passwords use -m ... or -p HansH |