This question about Installation of Foswiki: Answered

/bin/configure not interpreted as perl by apache server

Hi everyone,

I was wondering if someone could give guidance to fix my issue. I followed to complete installation instruction for both Foswiki and Twiki; however when I type "http://localhost/foswiki/bin/configure" I get perl script.

"#! /usr/bin/perl -wT # See bottom of file for license and copyright information =begin TML Configuration script for Foswiki......"

I am using:
  1. Ubuntu 13.04 64bit server version.
  2. Perl -v > version 14, Subversion 2 (V5.14.2)
  3. I installed most Perl modules

I really appreciate if any help. Thank you

-Paul

-- PaulAssefa - 02 Jun 2014


This is almost always an Apache configuration issue. How did you configure apache? It sounds like you are using your own server, so you either should follow the instructions embedded in the foswiki_httpd_conf.txt file found in the top directory where you expanded the tarfile. Or consider using the ApacheConfigGenerator to tailor your configuration. The tailored config file needs to be installed in the /etc/apache2/sites_available/ directory.

-- GeorgeClark - 02 Jun 2014

Any updates to this? We are having the same problem. We used ApacheConfigGenerator.

-- NickPilch - 04 Aug 2015

This really is an apache and platform question, not Foswiki. Depending upon your platform, you may have to do other things to make apache perl operational. On ubuntu / debian you might need to "a2enmod cgid" or some other command to enable cgi processing. This is going to vary based upon the distribution and version in use. When you see the perl source code in the browser, then something is not enabled, and apache is not running the perl code.

-- GeorgeClark - 05 Aug 2015
 

QuestionForm edit

Subject Installation of Foswiki
Extension
Version Foswiki 1.1.9
Status Answered
Related Topics Installation
Topic revision: r5 - 09 Sep 2015, MichaelDaum - This page was cached on 06 Dec 2017 - 23:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License