Question
I point my browser to:
http://myip/twiki/bin/configure
and I get the configure page like its a text file.
This is on a gentoo system with twiki 4.2.0. Everything seemed to have installed properly , and webapp-config ran correctly. Has anyone seen this issue before??
Here is what I followed:
http://gentoo-wiki.com/HOWTO_TWiki
Environment
--
SteveSantacroce - 06 Apr 2008
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.
It looks like the browser isn't executing the perl code. If I do a ./configure in ssh I get html code spit out at me, and it looks correct! But in a browser I only see the perl code.
--
SteveSantacroce - 06 Apr 2008
This means your web server is not configured to
execute configure as a CGI script. Most probably you have the good instruction
SetHandler cgi-script
in your
bin/.htaccess
(if not, add it and you are done), but your web server is not configured to obey
.htaccess
files. You need to be sure to have
AllowOverride All
set for the twiki directory and/or virtual host.
--
ColasNahaboo - 06 Apr 2008
--
RobbLightfoot - 04 May 2008
I'm struggling with an install. You can force this to run, in a hosted environment, by just adding .pl to the perl script. It is in the /bin folder.
If you go this route, you'll need to make the perl scripts ALL .pl. In the configuration options, you'll see that you can specificy the .pl extension as the optional cgi/perl script extension. I had to do this. I've had some other hacks, too. But it works.
Also, you may need to edit the configure perl script to REMOVE the -w in the first line of code and replace it with the -s this suppressed error messages and keeps the script from crapping out. At least, then you can get it going. it may not be necessary for you to do this, but it was for me.
I'm putting up TWiki in an hostend environment on Site5, and it has been one of the hardest things I've done. But it is limping along now.
Robb
--
RobbLightfoot - 04 May 2008