Item10122: Warning: file .htpasswd is not found. (when not using the Foswiki::Users::HtPasswdUser password manager.)
Priority: Low
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
I have Foswiki set up using apache for authentication using an apache module. So, I have set my .htaccess appropriately and configured Foswiki as follows:
- {LoginManager}=Foswiki::LoginManager::ApacheLogin
- {PasswordManager}=none
- {Htpasswd}{FileName}=$Foswiki::cfg{DataDir}/.htpasswd #unchanged
- {Register}{EnableNewUserRegistration}=0
Foswiki gives a
Warning: file .htpasswd is not found. This may be normal for a new installation. it will be created when the first user registers to the site
However, as per my setup, I will never have (nor want) a .htpasswd. Is it possible to make the warning only appear if {PasswordManager} == Foswiki::Users::HtPasswdUser?
--
JayenAshar - 06 Dec 2010
Fixed - you can dowload a new file checker here:
http://trac.foswiki.org/export/10184/branches/Release01x01/core/lib/Foswiki/Configure/Checkers/Htpasswd/FileName.pm
--
GeorgeClark - 06 Dec 2010