Tags:
create new tag
view all tags

Question

Hello,

I am trying to run the configure script via my url. However, it wants me to enter a username and password. What should this be? It's not taking my unix username and password...

Since I am attemtping a non-root installation, I suspect I need to bootstrap this somehow that otherwise a root-based installation would take care of.

I am accessing a user directory only so I don't have access to the actual server apache's running on.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Centos something...
Web server: apache 2.0.52
Perl version: 5.8.5 (?)
Client OS: Fedora 8
Web Browser: Firefox 2.0.0.14
Categories: Authentication, Documentation

-- JasonBrooks - 04 Jun 2008

Answer

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.

Step 8 in the basic configuration alludes that just running the configuration will generate the necessary .htpasswd file. This is not the case, as I needed this file to exist already. Thus, I needed a means to "bootstrap" this system.

Here are my steps:

  • In the twiki/bin/.htaccess.txt file are the following separate lines:
    • AuthUserFile {DataDir}/.htpasswd
    • Require user {Administrators}
  1. use "htpasswd" to generate the .htpasswd file
    • eg: htpasswd -c ...twiki/data/.htpasswd jason0
  2. Set the {DataDir} part to <path>/twiki/data/.htpasswd.
  3. change the line "Require user {Administrators}" to "Require user jason0"
  4. connect to http://<Hostname>/twiki/bin/configure

-- JasonBrooks - 04 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-06-06 - 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.