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
--
JasonBrooks - 04 Jun 2008
Answer
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}
- use "htpasswd" to generate the .htpasswd file
- eg: htpasswd -c ...twiki/data/.htpasswd jason0
- Set the {DataDir} part to <path>/twiki/data/.htpasswd.
- change the line "Require user {Administrators}" to "Require user jason0"
- connect to http://<Hostname>/twiki/bin/configure
--
JasonBrooks - 04 Jun 2008