Question
my site root is read-only
two subdirectories: cgi-bin and www
all the directories are in cgi-bin/ except www/twiki/pub
I've tried following the instructions for uploading twiki to my server www.netfirms.com but am having a hard time. I've previously installed usemod successfully on my own apache server and bgcu2007.netfirms.com/cgi-bin/patchedwiki.pl but twiki is proving more difficult
1) The formatting of all the files lacks line breaks, making it very difficult to read
2) It's unclear how to install the RCSlite or what settings to change in the config
3) It's unclear where to change the user from nobody to 'root' as required by my server
4) I have two directories for files: cgi-bin and www. if i put twiki/pub in www and the rest in cgi-bin, i have difficulty accessing the twiki pages. also, the
http://bgcu2007.netfirms.com/cgi-bin/bin/testenv
says my template file is insecure. i don't know where else i can put it (or how to
chmod or chown files/directories from wsftp)
if you can help with any of these I would be quite grateful. twiki looks great on your site
Thanks!
-Benjamin,
benjo4u@GETTINGLOTSASPAMyahooPLEASENOSPAM.com
Environment
--
TWikiGuest - 24 Aug 2003
Answer
Hi,
1) I am not sure which specific files you have in mind, but the files containing Perl code are fairly well formatted. The formatting is also pretty consistent.
2) looks like
RcsLite is not recommended for live sites:
http://twiki.org/cgi-bin/view/TWiki/TWikiSystemRequirements#Server_Requirements
3) file permissions need to be set as follows:
files under the following directories should be either executable by the web user and/or readable by the
web user, hence you can have them be owned by the web user (the user who is running the web server):
bin/ data/ pub/
The remaining 2 directories (and the files thereunder) only require read access by the web server, but
should be hidden from the users, hence you can make them owned by anyone ("twiki" user, as suggested by
the docs) with 755 permissions.
lib/ templates/
Look at
http://twiki.org/cgi-bin/view/TWiki/TWikiDocumentation#TWiki_Installation_Guide
for detailed
instructions on how to do all this.
4) as for your directory layout, you can do it any way you want, but if you move away from the standard
layout (everything under a twiki/ directory), then you will have to tweek a few things (making sure
the lib/ directory is correctly accessible to your scripts in the bin/ directory, just to mention
one).
Probably the easiest thing to do would be to create a twiki/ directory under the www/ directory, set the
various web permissions (making CGI-s executable with +ExecCGI, etc), and not do anything with the
cgi-bin/ directory.
--
ArshavirGrigorian 28 Aug 2003