Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Gentoo 2007.0
Web server: Apache 2.2.8
Perl version: 5.8.8-r4
Client OS: MS Windows XP SP2
Web Browser: Firefox 2.13
Categories: Installation

-- SteveSantacroce - 06 Apr 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-05-04 - RobbLightfoot
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.