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