Tags:
create new tag
view all tags

SID-01651: Possible perl configuration issue

Status: Answered Answered TWiki version: 5.1.4 Perl version: 5.10.1
Category: CategoryInstallation Server OS: Centos 6.3 Last update: 13 years ago

Somewhat green to TWiki configurations. Any help appreciated...

When attempting to access http://wiki0001/twiki/bin/configure the browser (Firefox) returns a Not Found error.

An strace of the httpd process reports:

1954 read(10, "GET /twiki/bin/configure HTTP/1."..., 8000) = 32 1954 stat("/var/www/html/twiki/bin/configure", 0x7ff3ddbf010) = -1 ENOENT (No such file or directory)

The automatic generator for twiki.conf was used and it has been placed in /etc/httpd/conf.d (where /etc/httpd/conf/httpd.conf says it should be.)

Apache is otherwise functional. PHP services on Apache work as well.

So it appears as if the presence of TWiki is not recognized.

Perl is installed as is perl-CGI and perl-CPAN. Using Apache 2.2.15 and TWiki 5.1.4 on Centos 6.3. All files are owned by user & group apache.

The guide at http://twiki.org/cgi-bin/view/TWiki05x01/TWikiInstallationGuide was followed.

Any ideas?

-- Darren Suprina - 2013-03-05

Discussion and Answer

This is an apache configuration issue, the /twiki/bin is not recognized as a script directory. Check the twiki.conf file and make sure the ScriptAlias and Options ExecCGI directives are set. Use the ApacheConfigGenerator to generate the twiki.conf file.

-- Peter Thoeny - 2013-03-05

Also, make sure to disable PHP for the twiki/pub directory to avoid a major security issue.

-- Peter Thoeny - 2013-03-05

      Change status to:
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.
SupportForm
Status Answered
Title Possible perl configuration issue
SupportCategory CategoryInstallation
TWiki version 5.1.4
Server OS Centos 6.3
Web server Apache 2.2.15
Perl version 5.10.1
Browser & version Firefox 17.0.3
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2013-03-05 - PeterThoeny
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.