This question about Configuration: Answered
I installed foswiki on Windows7/ActivePerl/Apache in cgi-bin (with pub in htdocs).
When I try to run configure I get:
Software error:
Use of uninitialized value $Foswiki::foswikiLibPath in concatenation (.) or string at C:\Program Files (x86)\Apache Software Foundation\Apache2.2\cgi-bin\wiki\lib/Foswiki/Configure/TemplateParser.pm line 67.
So, I did a manual configuration. The system comes up, but I cannot login as admin.
I left the configuration password empty.
$Foswiki::cfg{Password} = '';
There were no instructions that I could find about manually setting the password. (Does configure store an encrypted password?)
What should I do to configure configuration?
Thanks!
First, I would suggest you to try and fix configure so it's working. It's much easier to use it than do everything manually.
To maybe solve the error above, go to your
bin
directory, and you should find a file called
LocalLib.cfg.txt
. Rename that file (remove the .txt extension), and edit it to fit your needs (the
$foswikiLibPath
). This could be enough to solve the error you get. I'd love to know more about your configuration so we can test and make Foswiki more robust on Win7.
Then, to answer your question, it is stored using the crypt mechanism. You can easily generate one using:
perl -le'print crypt "password", "SA"'
Where
password
is your password, and
SA
is the salt.
--
OlivierRaginel - 15 Jun 2011