Question
Hello, what credentials do I use to initially access
http://localhost/twiki/bin/configure
? I just did a new install of Twiki 4.2.3 on a Win2003 SP2 Server with Apache 2.2.9 and
ActivePerl 5.10.0.1003. I was following
http://twiki.org/cgi-bin/view/TWiki/TWiki04x02WindowsInstallationGuide
and I’m on the fist bullet under “More TWiki configuration”, but I get prompted for credential based on the rules in twiki.conf under:
<Directory "c:/www/twiki/bin">
AllowOverride None
Order Allow,Deny
Allow from all
Deny from env=blockAccess
Options ExecCGI FollowSymLinks
SetHandler cgi-script
# Password file for TWiki users
AuthUserFile c:/www/twiki/data/.htpasswd
AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
AuthType Basic
# File to return on access control error (e.g. wrong password)
ErrorDocument 401 /twiki/bin/view/TWiki/TWikiRegistration
Previously I did an install on a local
WinXP machine and did not need to authentic to the localhost machine.
Environment
--
GregJenci - 30 Sep 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.
I have an update, following another Win Installation cookbook, I created an initial .htpasswd file, but now I'm getting a different access error :
[client 127.0.0.1] (OS 5)Access is denied. : couldn't create child process: 720005: configure
[client 127.0.0.1] (OS 5)Access is denied. : couldn't spawn child process: C:/www/twiki/bin/configure
I'm a n00b here with Apache & Perl; so, if someone could lend a hand...
--
GregJenci - 30 Sep 2008
Okay, I somehow didn't follow the directions correctly and it cost be hours (I'm embarrassed to say how many). My problem was in the shbang lines: I only had "#!C:\Perl\bin\"; not "#!C:\Perl\bin\perl.exe". Once I added the "perl.exe" everything worked.
--
GregJenci - 30 Sep 2008