Tags:
create new tag
, view all tags

Question

Hi TWiki experts,

Sorry to bother you people with my trivialities. I searched the support web, but could not find anything like this. I want to get TWiki configured on my company’s local intranet server, so I have no root access.

I installed TWiki 4.0.1 in following directory structure: (on ~myaccount = /mycompany/other/myaccount/)

~/twiki/bin
~/twiki/pub
~/twiki/lib
~/twiki/… all folders...

These are the apache directories:

~/public_html/twiki/pub -> symbolic link to ~/twiki/pub
~/public_html/cgi-bin/bin -> symbolic link to ~/twiki/bin

I followed the configuration steps as described in the documentation, and I managed to run the configure script:

http://localwww.mycompany.be/cgi-bin/cgiwrap/myaccount/twiki/bin/configure

These are my path settings (from ~/twiki/lib/LocalSite.cfg, also the same as in configure settings
$TWiki::cfg{DataDir} = '/mycompany/other/myaccount/twiki/data';
$TWiki::cfg{TemplateDir} = '/mycompany/other/myaccount/twiki/templates';
$TWiki::cfg{Site}{Lang} = 'en';
$TWiki::cfg{Site}{FullLang} = 'en-us';
$TWiki::cfg{LocalesDir} = '/mycompany/other/myaccount/twiki/locale';
$TWiki::cfg{PubDir} = '/mycompany/other/myaccount/twiki/pub';
$TWiki::cfg{PubUrlPath} = '/~myaccount/twiki/pub';
$TWiki::cfg{DefaultUrlHost} = 'http://localwww.mycompany.be';
$TWiki::cfg{ScriptUrlPath} = '/cgi-bin/cgiwrap/myaccount/twiki/bin';

This gives following errors and warnings:

  • In the section “CGI setup”:
    • CGI bin directory Error: Cannot open /mywebserver/other/intranet_webserver/cgi-bin/cgiwrap for read - check it exists, and that permissions are correct
    • the directory is that of the webserver, and I have no read access to it.
    • Furthermore, in “optional Perl modules”: CGI::Cookie 1.24 Digest::SHA1 Warning: not installed. May be required for SHA1 password encoding
    • Text::Diff 0.35 CGI::Session Warning: not installed. May be required for sessions
    • patch Warning: 'patch' program was found on the PATH but is not GNU patch - this may cause problems. Unrecognized switch: --version

  • And also an error in “security setup”:
    • Error: The CGI::Session Perl module is required for session support, but is not available.

I would like to remind you to the fact that I have my old TWiki (older version) still running on that same server!

Thanks for the support,

Roeland

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: HPUX 11
Web server: Apache/1.3.33 (Unix) ApacheJServ/1.1.2 PHP/5.0.3
Perl version: 5.8.4
Client OS: WinXP
Web Browser: IE
Categories: Installation

-- TWikiGuest - 22 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Hello,

For the CGI bin directory, I think you should first check the path to make sure it is correct - maybe you could try with a dummy script, given the fact that you previously run an older version on the same server - if it does not work, maybe you should try to contact your hosting staff.

For the CGI::Session module, you may download it from http://search.cpan.org/~sherzodr/CGI-Session-4.03/lib/CGI/Session.pm and you may install it in you account - for this to work, you will have to set the correct path in bin/LocalLib.cfg for @localPerlLibPath in order to indicate the path to your locally installed modules.

Aled Alexander

-- AledAlexander - 22 Feb 2006

Note that TWiki-4 adds a number of new capabilities to TWiki, so it's dependencies have changed as a result. You can ignore and warnings. It looks as if those errors are related to the CGI::Session module, and to your webserver configuration. I'm sure you have resolved them by now.

-- CrawfordCurrie - 12 Mar 2006

 
Topic revision: r3 - 2006-03-12 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.