User authentication using file option

Help
2007-12-03
2012-10-11
  • Brendel Oliver

    Brendel Oliver - 2007-12-03

    Hello,
    I'm rather new to this all, but I managed, with some help to install phpwiki.
    Now I would like to have user authetication so I sent in the config file
    ALLOW_ANON_USER = false
    ALLOW_ANON_EDIT = false
    ALLOW_BOGO_LOGIN = false
    ALLOW_USER_PASSWORDS = true

    'This works : I can get in as admin

    'and as I did not see any indication how the "PersonalPage" method works, I tried the "File" method, without success.
    'What I did was :
    'created a password file (using the apache tool) that I called "user"
    'with content
    user:encryptedpassword
    'I put this file in \wiki\user\ 'then in the config file :
    USER_AUTH_ORDER = "File"
    USER_AUTH_POLICY = stacked
    AUTH_USER_FILE = D:\EasyPHP1-8\www\wiki\User\user
    AUTH_USER_FILE_STORABLE = true

    When I then try to login, as debug is on, I see :
    DEBUG: ALLOW_ANON_EDIT = false, ALLOW_BOGO_LOGIN = false, ALLOW_USER_PASSWORDS = true, ENABLE_PAGEPERM = true, USER_AUTH_ORDER: => File (wrongpass) => Forbidden, USER_AUTH_POLICY: stacked, PASSWORD_LENGTH_MINIMUM: 0

    and I get "invalid Password"
    what does "wrongpass" mean ??

    Can anybody help me with this ?

    Or if the PersonalPage method is easier, give me any help with that ?

    Thanks a lot in advance for your help

    Cheers

    Oliver

     
    • Kenneth Lerman

      Kenneth Lerman - 2007-12-03

      I, too, am having log in problems. In my case, I've successfully used the file method to log in. But I don't stay logged in. Each page asks me to log in again.

      I assume that it is a session problem. I've tried both file and database session types. In each case, I'm unable to find any evidence that session data has been store.

      Any help would be appreciated.

      Ken

       
    • Brendel Oliver

      Brendel Oliver - 2007-12-04

      Hi Ken,

      so where did you put this file, what was the format and how did you refer to it ?
      Are you on a windows or a Linus/Unix system ?
      I think I read that the session data should be stored by the browser in a cookie, so it might just be the cookie settings in your browser ?

      Oliver

       
    • Kyle Thomas

      Kyle Thomas - 2008-01-24

      I'm a newbie. I just installed phpwiki, and my first question is: How will new users register, and their edits be accounted for?

      My second question is: How are the other major Wiki sites (such as Wikipedia) accomplishing this? Can their methods be duplicated?

      Kyle

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks