SID-01202: Upgrading Apache for Twiki 4.1.2
| Status: |
Answered |
TWiki version: |
4.1.2 |
Perl version: |
5.8.2 |
| Category: |
CategoryError |
Server OS: |
AIX 5.3 |
Last update: |
14 years ago |
We have an AIX 5.3 server running TWiki 4.1.2 and due to security restrictions the version of Apache needs to be upgraded from 2.2.4 to something 2.2.14+ (I have selected the current version 2.2.19).
I worked through all of the hastle of getting and building Apache 2.2.19, stopped the current apache and replaced it (the entire bin, modules, etc directories) with the new versions. I use the same httpd.conf and twiki.conf files (with slight tweaks), and the system will start up but whenever I try to view a web I will get
Not Found
The requested URL /twiki/bin/view/MyWeb/WebHome was not found on this server.
If I swap out the apache directories with the old ones, it works fine. I read this post
http://twiki.org/cgi-bin/view/Support/ConfigUninitialisedValueError
and it sounded similar to my problem so I used CPAN to update my version of CGI from 3.28 to 3.55, but that didn't solve the problem.
--
TWikiGuest - 2011-06-09
Discussion and Answer
Forgot to mention, if instead of going through the view script I spell out a direct url to /www/twiki/pub/... I can access attachments or images (if the access rights are correct). I have tried some of the steps at
http://twiki.org/cgi-bin/view/Codev/TWikiDebugging
but am not getting a lot of details. I suspect this is a Perl problem. Am I missing any steps in upgrading the Apache version? Is there additional config that is needed?
--
TWikiGuest - 2011-06-09
The not found error is an indication that the
/twiki/bin is not configured properly as a cgi-bin directory.
Is the new Apache picking up the conf files in the directory where you have your twiki.conf file? Read the docs where Apache puts the optional conf files. For Apache 2.2 on CentOS for example it is in
/etc/httpd/conf.d/.
--
PeterThoeny - 2011-07-30
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2011-09-08
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.