SID-01651: Possible perl configuration issue
| Status: |
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
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.