I downloaded feb2003 ver and configured to interl usage. I enable basic autentication using htaccess. Whenever a user registers himself, it gives a sucessfull message but is not writing the password to .htpassword file under data directory. I checked path of $dataDir and it correct. What might be reason, Can some one suggest something and help me?
--
GaraPati - 23 Apr 2003
Question
- TWiki version: 01-Feb-2003
- Perl version:
- Web server & version:
- Server OS:
- Web browser & version:
- Client OS:
--
MattWilkie - 23 Apr 2003
Answer
This problem occured because, i had a separate login name apart from
TWikiName. by default the program register writes
TWikiName and password to the .htpassword file. But in this case it should be login name & password.
for that the following changes are required.
in register file under bin directory @ line 144
change
if( !$remoteUser ){
htpasswdAddUser( htpasswdGeneratePasswd( $wikiName, $passwordA ));
}
with
if( $remoteUser ){
htpasswdAddUser( htpasswdGeneratePasswd( $remoteUser, $passwordA ));
}
and it worked.
--
GaraPati - 25 Apr 2003