Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item10122: Warning: file .htpasswd is not found. (when not using the Foswiki::Users::HtPasswdUser password manager.)

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Closed Engine Configure  
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
 

ItemTemplate edit

Summary Warning: file .htpasswd is not found. (when not using the Foswiki::Users::HtPasswdUser password manager.)
ReportedBy JayenAshar
Codebase 1.1.2, 1.1.1, 1.1.0, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Low
CurrentState Closed
WaitingFor
Checkins Foswikirev:10184 Foswikirev:10185
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License