Tags:
create new tag
, view all tags

Question

I'm working on a hosted site and followed all the installation directions I could find, but I am getting an error message in the configure page: "Warning: Save is disabled; Cannot locate LocalSite.cfg. Is your setting for $twikiLibPath correct in bin/LocalLib.cfg?", and this seems to result in 4 more errors and 6 warnings. I checked and double-checked and triple-checked the settings in LocalLib.cfg and it all looks good. I also checked file permissions and everything is read/write by me, and all exes are executable by "other", which is how Sonic has told me to do it.

I am working on sonic.net, which has a "cgi-wrap" feature for better security.

I have attached the the configure html page for your reference.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux bolt.sonic.net 2.4.32-A-STAND #1 SMP Thu Mar 2 13:55:33 PST 2006 i686 unknown
Web server: Apache
Perl version: 5.6.1
Client OS: Solaris x86
Web Browser: Firefox
Categories: Installation

-- DavidVanCouvering - 20 Aug 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.

My guess is your problem is with the previous line "CGI bin directory". Your LocalLib defines ../lib, which is relative to the CGI bin directory, which there seems to be a problem resolving.

You can try setting LocalLib to point to an absolute file path e.g. /usr/local/twiki/lib but there are likely to be other problems resulting from the failure to resolve the CGI bin directory.

-- CrawfordCurrie - 21 Aug 2006

Thanks for the quick response! I'll check this out, I suspect this is related to my attempts to use Sonic's more secure "cgi-wrap" technology.

-- DavidVanCouvering - 21 Aug 2006

It appears that cgiwrap is setting the directory for $ENV(SCRIPT_FILENAME) to /opt/apache/bin/cgwirap. This actually doesn't exist from my shell login. How do I override this to use the "real" directory? Has anybody successfully installed Twiki under cgiwrap?

-- DavidVanCouvering - 25 Aug 2006

Changing status, looking for more help...

-- DavidVanCouvering - 25 Aug 2006

More information. I was able to run configure outside of cgiwrap. Now its returning a different CGI-BIN path which is also not actually there, at least from my shell account. Argh

-- DavidVanCouvering - 25 Aug 2006

See attached file configure-nocgiwrap to see what that looks like...

-- DavidVanCouvering - 25 Aug 2006

I figured out the problem while running outside of cgiwrap - I needed to make all files readable to everyone. But I still very much would like to run inside cgiwrap for better security...

-- DavidVanCouvering - 25 Aug 2006

One month passed, closing this question as unanswered.

-- PeterThoeny - 01 Oct 2006

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtml configure-nocgiwrap.html manage 59.0 K 2006-08-25 - 04:34 DavidVanCouvering Running configure outside of cgiwrap
HTMLhtm configure.htm manage 59.2 K 2006-08-20 - 17:21 DavidVanCouvering Here is the output from running configure
Topic revision: r5 - 2006-10-01 - PeterThoeny
 
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.