Question
I'm installing a TWiki onto an Apache server I don't control. The problem I'm having is not TWiki's fault: I've boiled it down to this: a (Perl) program that executes a command
in backticks will work in the cgi-bin directory, but hangs in the
htdocs/wiki/bin directory. The program is no longer than
print `/bin/ls`;
(after the content-type header) and it makes no difference what the command in the `` is. If I put anything else besides backticks in the
program it executes properly. I have a .htaccess in the wiki/bin
directory with a
SetHandler cgi-script directive. The cgi-bin directory
has no .htaccess file. htdocs is a sibling of cgi-bin. mod_perl is not running.
I got nowhere with extensive googling. There were some postings alleging
a similar problem on Windows servers but this is Linux.
My TWiki question is this: As a last resort I will have to figure out how to install TWiki by moving its programs from htdocs/wiki/bin to cgi-bin. Are there any instructions on that (is it even possible)? I've installed a few TWikis before so I know my way around it.
Environment
--
PeterScott - 06 Oct 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Just rename
bin to
cgi-bin and point Apache at the renamed dir. If you can't rename the dir (because of an existing
cgi-bin, for example) then just copy the contents. The
bin dir isn't refered to from anywhere else.
--
CrawfordCurrie - 13 Oct 2006