Tags:
create new tag
view all tags
moved from TWikiPassword

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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-04-25 - GaraPati
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.