NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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 LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads