SID-00248: Twiki Installation in Plesk and Perl Issues??
| Status: |
Answered |
TWiki version: |
4.3.0 |
Perl version: |
|
| Category: |
CategoryInstallation |
Server OS: |
RHEL 5 |
Last update: |
16 years ago |
Hi Folks,
I have very limited experience with TWiki or Linux for that matter, but i need to resolve an issue.
My project requires migration of the existing TWiki, which is no biggie.
Except, that I am using a Plesk Virtual domain and that deviates from standard install.
If i do a simple install, everything works, but i am getting the following output while the TWiki is configured with its virtual domain in Plesk.
PLS help me out with this one :>
Thanks in advance,
URL: https://wiki.xxx.xxx.com/twiki/bin/view
#!/usr/bin/perl -wT
#
# TWiki Enterprise Collaboration Platform, http://TWiki.org/
#
# Copyright (C) 1999-2007 Peter Thoeny, peter@thoeny.org
# and TWiki Contributors.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version. For
# more details read LICENSE in the root of this distribution.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# As per the GPL, removal of this notice is prohibited.
BEGIN {
# Set default current working directory (needed for mod_perl)
if( $ENV{"SCRIPT_FILENAME"} && $ENV{"SCRIPT_FILENAME"} =~ /^(.+)\/[^\/]+$/ ) {
chdir $1;
}
# Set library paths in @INC, at compile time
unshift @INC, '.';
require 'setlib.cfg';
}
use TWiki::UI;
use TWiki::UI::View;
TWiki::UI::run( \&TWiki::UI::View::view, view => 1 );
--
UmerKamran - 2009-04-06
Discussion and Answer
It basically means that your webserver considers the
twiki/bin directory a html document directory. Configure your webserver to treat this directory as a cgi-bin directory. Alternatively, move the
twiki/bin directory under your cgi-bin enabled directory below your virtual domain, and configure TWiki to use that directory.
--
PeterThoeny - 2009-04-07
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 - 2009-06-02
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.