Installation issues

Hi all,

I’m new the the RT world and am trying to set it up. After RT is
installed, and the virual server is added in Apache, I browse to the
server and am getting the following :

%# BEGIN LICENSE BLOCK %# %# Copyright (c) 1996-2003 Jesse Vincent %# %#
(Except where explictly superceded by other copyright notices) %# %#
This work is made available to you under the terms of Version 2 of %#
the GNU General Public License. A copy of that license should have %#
been provided with this software, but in any event can be snarfed %#
from www.gnu.org. %# %# This work 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. See
the GNU %# General Public License for more details. %# %# Unless
otherwise specified, all modifications, corrections or %# extensions to
this work which alter its source code become the %# property of Best
Practical Solutions, LLC when submitted for %# inclusion in the work. %#
%# %# END LICENSE BLOCK <& /Elements/Header, Title=>loc(“RT at a
glance”), Refresh => $session{‘home_refresh_interval’} &> <&
/Elements/Tabs, current_toptab => ‘’, Title=>loc(“RT at a glance”) &>
** TEXT TAKEN OUT OF HERE DUE TO FORMATTING PROBLEMS
<%init> if ( $ARGS{‘q’} ) { my $query = $ARGS{‘q’}; if ( $query =~
m/^\s*(\d+)\s*$/ ) {
$m->redirect(“$RT::WebPath/Ticket/Display.html?id=$1”); }
$session{‘tickets’} = RT::Tickets->new( $session{‘CurrentUser’} ); if (
$query =~ m/@/ ) { $session{‘tickets’}->LimitRequestor( VALUE =>
$query, OPERATOR => ‘=’, );
$m->redirect(“$RT::WebPath/Search/Listing.html”); } # # Any search on
queue name or subject will be for new/open tickets # only. #
$session{‘tickets’}->LimitStatus( VALUE => $_, OPERATOR => ‘=’, ) for
qw(open new); my $queue = RT::Queue->new( $session{‘CurrentUser’} ); if
( $queue->Load($query) && $queue->Id ) {
$session{‘tickets’}->LimitQueue( VALUE => $queue->Id, OPERATOR => ‘=’,
); $m->redirect(“$RT::WebPath/Search/Listing.html”); }
$session{‘tickets’}->LimitSubject( VALUE => $query, OPERATOR => ‘LIKE’
); $m->redirect(“$RT::WebPath/Search/Listing.html”); } if
($ARGS{‘HomeRefreshInterval’}) { $session{‘home_refresh_interval’} =
$ARGS{‘HomeRefreshInterval’}; }

I’ve tried several installs of RT with a fresh installs of Linux (using
Redhat 8), tried using Postgres and MySQL databases and different perl
mods all with no luck. As you can probably guess, I am no Linux expert
although I get things done, it just takes my time :slight_smile: Any help would be
greatly apprecaited!

Kind regards,
James Doutsis

Hi all,

I’m new the the RT world and am trying to set it up. After RT is
installed, and the virual server is added in Apache, I browse to the
server and am getting the following :

Please send over a copy of Your VirtualHost entry.
Regards,
Harald Wagener

Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

Harald,

I’ve edited http.conf so that the document root is /opt/rt3/share/html/

Other than that, I’ve left it alone. Am I missing something?

I did try, as said in the readme, using a virtual host. This gave me
the same symptoms as what I originally posted, and as this server will
only be used for RT I don’t see the point of using a virtual host.
Please correct me if I am wrong.

Also, am I correct in saying that is it Perl that is causing this?

Thanks for the help, I appreciate it.

Regards,
James DoutsisFrom: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of Harald Wagener
Sent: Thursday, 8 May 2003 6:28 PM
To: James Doutsis
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Installation issues

Hi all,

I’m new the the RT world and am trying to set it up. After RT is
installed, and the virual server is added in Apache, I browse to the
server and am getting the following :

Please send over a copy of Your VirtualHost entry.
Regards,
Harald Wagener

Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

rt-users mailing list
rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

This is your Mason code being spit out as text. You aren’t calling the Mason handler, which will format this into nice pretty HTML. This is not ‘Perl’ causing it, per se. You just don’t have the server configured properly yet.

That’s the reason for the VirtualHost section. Nothing about virtual, but it puts all the new stuff in one place and doesn’t mess up the server if you AREN’T using it ONLY for RT.

In the httpd.conf

Listen 192.168.0.1:80 # test page

Listen 192.168.0.1:8080 # RT page

#Port 80

<VirtualHost 192.168.0.1:8080>

        DocumentRoot /opt/rt3/html/share

        ...regular stuff from the example

When you browse to the site you get port 80 and the default root, /usr/local/apache/htdocs or whatever.

Then I have a link in that index.html Request Tracker.

Don’t forget to edit RT_Siteconfig.pm and change the WebBaseURL value.

        Set( $WebBaseURL , http://192.168.0.1:8080 <http://192.168.0.1:8080/>  );

You could probably swap the 80 and the 8080, that is, move the regular test page onto port 8080 and not use it, but I haven’t tried that.

Greg

Gregory L. Hering

(256) 722-6420

4807 Bradford Dr

Benchmark Electronics, Inc.

Hunvtsville, Al 35805-----Original Message-----
From: James Doutsis [mailto:rt@doutsis.com]
Sent: Wednesday, May 07, 2003 8:17 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] Installation issues

Hi all,

I’m new the the RT world and am trying to set it up. After RT is installed, and the virual server is added in Apache, I browse to the server and am getting the following :

%# BEGIN LICENSE BLOCK %# %# Copyright (c) 1996-2003 Jesse Vincent %# %# (Except where explictly superceded by other copyright notices) %# %# This work is made available to you under the terms of Version 2 of %# the GNU General Public License. A copy of that license should have %# been provided with this software, but in any event can be snarfed %# from www.gnu.org <file:///\www.gnu.org> . %# %# This work 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. See the GNU %# General Public License for more details. %# %# Unless otherwise specified, all modifications, corrections or %# extensions to this work which alter its source code become the %# property of Best Practical Solutions, LLC when submitted for %# inclusion in the work. %# %# %# END LICENSE BLOCK <& /Elements/Header, Title=>loc(“RT at a glance”), Refresh => $session{‘home_refresh_interval’} &> <& /Elements/Tabs, current_toptab => ‘’, Title=>loc(“RT at a glance”) &>

** TEXT TAKEN OUT OF HERE DUE TO FORMATTING PROBLEMS
<%init> if ( $ARGS{‘q’} ) { my $query = $ARGS{‘q’}; if ( $query =~ m/^\s*(\d+)\s*$/ ) { $m->redirect(“$RT::WebPath/Ticket/Display.html?id=$1”); } $session{‘tickets’} = RT::Tickets->new( $session{‘CurrentUser’} ); if ( $query =~ m/@/ ) { $session{‘tickets’}->LimitRequestor( VALUE => $query, OPERATOR => ‘=’, ); $m->redirect(“$RT::WebPath/Search/Listing.html”); } # # Any search on queue name or subject will be for new/open tickets # only. # $session{‘tickets’}->LimitStatus( VALUE => $_, OPERATOR => ‘=’, ) for qw(open new); my $queue = RT::Queue->new( $session{‘CurrentUser’} ); if ( $queue->Load($query) && $queue->Id ) { $session{‘tickets’}->LimitQueue( VALUE => $queue->Id, OPERATOR => ‘=’, ); $m->redirect(“$RT::WebPath/Search/Listing.html”); } $session{‘tickets’}->LimitSubject( VALUE => $query, OPERATOR => ‘LIKE’ ); $m->redirect(“$RT::WebPath/Search/Listing.html”); } if ($ARGS{‘HomeRefreshInterval’}) { $session{‘home_refresh_interval’} = $ARGS{‘HomeRefreshInterval’}; }

I’ve tried several installs of RT with a fresh installs of Linux (using Redhat 8), tried using Postgres and MySQL databases and different perl mods all with no luck. As you can probably guess, I am no Linux expert although I get things done, it just takes my time :slight_smile: Any help would be greatly apprecaited!

Kind regards,
James Doutsis