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
--
DavidVanCouvering - 20 Aug 2006
Answer
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