[rt-users] Installation issues

Greg.Hering at bench.com Greg.Hering at bench.com
Tue May 13 15:42:39 EDT 2003


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

</VirtualHost>

 

 

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 <a href=http://192.168.0.1:8080/>Request Tracker</a>.

 

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 at doutsis.com] 
Sent: Wednesday, May 07, 2003 8:17 PM
To: rt-users at 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 :)  Any help would be greatly apprecaited!

Kind regards, 
James Doutsis 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030513/44bfb82c/attachment.htm>


More information about the rt-users mailing list