Question
Folks, I am evaluating TWiki for the
ISTF Public Software and Intellectual Property WG (
http://www.gnacademy.org:80/psip
).
The basic TWiki seems to work in my laptop except that the gifs do not show. So there seems to be a a problem with the configuration file.
The basic difference with the official instructions is that I have put all the files under cgi-bin ... so pub,data, templates etc are off
/usr/local/apache/cgi-bin/twiki
Any suggestions are welcome!
Answer
This cannot work because all subdirectories under cgi-bin automatially inherit bin characteristics, e.g. the server tries to execute the files. You need to move the twiki/pub directory below your htdoc tree, the directory that represents your URL root. You need to reflect the location of twiki/pub in wikicfg.pm (there are two variables, one is the directory as seen from the file system, the other as seen from the web browser). The twiki/data and twiki/template can be anywhere, also below the cgi-bin, but for security reasons preferably outside of the htdoc tree and outside of cgi-bin.
(You can reopen the question by editing the topic and setting the
SupportStatus back to
AskedQuestions.)
--
PeterThoeny - 27 Nov 2000
Update
Thanks! it works now on my laptop ... I shall wait for the new
release before installing it on the main site (sk)