Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

"file" authentication

Help
2007-09-06
2012-10-11
  • Alyn Ashworth
    Alyn Ashworth
    2007-09-06

    Hi all. I'm a newbie to phpWiki, but experienced in Unix/Linux/PHP/MySQL for yonks. I'm trying to set up phpWiki for the first time, with authentication so that each month I can publish a login/password combination for that month. The easiest way seems to be to use "file" authentication, and I'm trying to persuade it to work, initially without encryption as I'm having a struggle. My settings are.......

    ENCRYPTED_PASSWD = false
    ALLOW_ANON_USER = false
    ALLOW_ANON_EDIT = false
    ALLOW_BOGO_LOGIN = false
    ALLOW_USER_PASSWORDS = true
    USER_AUTH_ORDER = "File"
    USER_AUTH_POLICY = first-only
    AUTH_USER_FILE = /srv/www/htdocs/scimitarweb/public_html/wiki/wikiusers
    AUTH_USER_FILE_STORABLE = false

    and my "wikiusers" file contains a single line.....

    alyn:fnb837

    Yet when I try to log on with this login/password combination I get rejected with "Invalid Password"

    Anyone got any suggestions.

    Thanks in anticipation!

    Alyn Ashworth