Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Win2003 SP2
Web server: Apache 2.2.9
Perl version: ActivePerl 5.10.0.1003
Client OS: any
Web Browser: IE7
Categories: Installation

-- GregJenci - 30 Sep 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.

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

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-09-30 - GregJenci
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.