Question
Hello,
I managed to install twiki on a Debian machine, as an extremely restrictioned non-root user. At this point, I have the site up and running (there are no errors repported by the configure script, although there are a few warnings as I have no patch, egrep, fgrep etc. commands, and I also tested with testenv - I will get back on this later on). To be mentioned that I downloaded the script from the bellow address:
http://svn.twiki.org:8181/svn/twiki/trunk/bin/testenv
At this point, everything seems fine, except for user registration - I get the "Internal Server Error" :(. Bellow you may find the content of the .htaccess file (after browsing through the FAQs I found that it would be a good idea to use basic authentication for the moment in order to create an admin user):
SetHandler cgi-script
Options +ExecCGI
AuthUserFile /home/groups/dockinggrid/htdocs/twiki/data/.htpasswd
AuthName ByPassword
AuthType Basic
For login I specfied
TemplateLogin - when specifying 'none' I get to editting pages etc. With
TemplateLogin, when I try to register the user I am able to introduce the requested information but when I'm trying to submit I get the "Internal Server Error". (when directed to twiki/bin/register/Main/WebHome) Also, in the data directory I created an empty .htpasswd file (as specified in docs).
Unfortunately I am unable to see the apache log, given the restriction imposed for the account I'm using (I don't even have the grep, tail or head commands!!). The log under the data directory tells me nothing (it notifies a regstart but that's it) and, given the fact that there is data to be submited, I cannot launch the script from the shell to test it.
A few more things:
- I had to disable in configure the "UseClientSession" as the required perl modules are not present or not accessible.
- the testenv gives me a warning for Digest::SHA1 - indicating that I should look over docs to see if it would be required or not.
- also, the testenv reports some other problems regarding the user name - under debian it seems, from what I found "www-data" - anyway, the testenv script is unable to display the user name (it just dysplays an "empty" string, obviously not equal to the "nobody" string). Also, I have the same problem with defaultUrlHost in testenv, but I somehow suspect this might be a bug as it seems to be uninitialized.
To resume: I am inclined to believe that I am having problems caused by the fact that I had to disable the "UseClientSessions" option (given the fact that I have no access to the required module or simply it does not exist on the system I'm trying to install on).
Would it be possible for someone to offer me a little bit of help with this? If it is possible to confirm my above presumption - it would be also great if someone can indicate me a solution ;).
I thank you in advance for your time! Have a great day!
Environment
--
AledAlexander - 21 Feb 2006
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.
I installed the CGI:Session in my local directory (late for me to realize I was able to do this

). Anyway, this infirms my suspicion regarding the connection I previously made... At this point I suppose that it might have something to do with permissions - maybe I missregarded something. Is there anyone else having the same problem?...
Thank you for your time + have a great day!
Aled Alexander
--
AledAlexander - 21 Feb 2006
testenv is nothing to do with TWiki-4. Please use
configure, which has the same and more capability.
testenv will report misleading and irrelevant warnings and errors.
You
must enable client sessions to use TemplateLogin. Client sessions are required for TWiki to remember the logged-in user's details.
Your best bet is to join the #twiki IRC channel and get someone to walk you through a debug session.
--
CrawfordCurrie - 12 Mar 2006