Tags:
create new tag
view all tags

SID-01675: First time authentication

Status: Unanswered Unanswered TWiki version: 5.1.4 Perl version: This is perl, v5.10.1
Category: CategoryError Server OS: CENTOS Last update: 10 years ago

Hello my app show me this message when i try login but here's the problem on the first time that i try access my app i don't know what user and password.. I've created the user apache passwd = apache using this script htpasswd -c .htpasswd username but in the access the app bring me this message [error] [client IP] access to /bin/view/TWiki/TWikiRegistration failed, reason: require directives present and no Authoritative handler.

-- Willian Melo Fonseca - 2013-04-08

Discussion and Answer

You do not need to manually create a .htpasswd file. The first time you run configure it will ask you for a password. Once configured, you can login to TWiki using user admin with the configure password. With this login you can register new users (including yourself). Details in TWikiInstallationGuide.

-- Peter Thoeny - 2013-04-09

The require directives present and no Authoritative handler error indicates an issue with your apache configuration for TWiki. I recommend to use the ApacheConfigGenerator.

-- Peter Thoeny - 2013-04-09

Peter thank you for the answer.. I've got some problems.. 1 - If i access the link "http://localhost/twiki/bin/configure i'm redirected to one page that show me the file configuration and not to login form. The login form is printed when i access the link "http://localhost/do/configure".. 2 - I've made te configuration of twiki.conf (/etc/httpd/conf.d/) using "http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator" and the only thing that i changed is TWiki directory to "/opt/twiki" and "NO PHP INSTALLED" 3 - After Delete the file .htpasswd in directory (/opt/twiki/data/). Acessing the page "http://localhost/do/configure" and viewing the log (/etc/httpd/logs/error_log) it brings me the following error: (2)No such file or directory: Could not open password file: /opt/twiki/data/.htpasswd access to /do/view/TWiki/TWikiRegistration failed, reason: verification of user id 'admin' not configured

And all instalation that i've made i used this guide http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide

Thank you again. Sorry the bad english..

-- Willian Melo Fonseca - 2013-04-09

-- Willian Melo Fonseca - 2013-04-09

When you run http://localhost/do/configure for the first time it will ask for a password. Once the configuration is done you can login to TWiki using user name admin and the configure password.

-- Peter Thoeny - 2013-06-03

When I run the configure script for the first time, a dialog popup asks for username/password telling me to use my WikiName. This does not work. I have entered my WikiName with no password, with my Wiki Registered password, tried admin, root, my own linux os login, as well as several choice unmentionable words. Since I have not yet set a password and there is not .htpassed file, how do I get past this dialog so I can run the configure script?

-- Nathan Eaves - 2013-06-20

-- Nathan Eaves - 2013-06-20

Found the answer. I had inadvertently checked the Apache 2.4 or newer box which was incorrect. Unchecking this box, regenerating the twiki.conf and restarting httpd fixed the issue.

-- Nathan Eaves - 2013-06-20

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title First time authentication
SupportCategory CategoryError
TWiki version 5.1.4
Server OS CENTOS
Web server Apache/2.2.15
Perl version This is perl, v5.10.1
Browser & version FIreFox 20
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2015-12-03 - PeterThoeny
 
  • 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.