I installed an older version of RT on a friends Redhat 8 server because I
did not want to mess with two versions of perl. I used RT version 3-0-7,
with perl-5-8.0-55.
My index.html page displays as text rather than a normal html page. For
testing purposes I copied a standard html page to /opt/rt3/share/html, and
it displays properly.
I installed an older version of RT on a friends Redhat 8 server because I
did not want to mess with two versions of perl. I used RT version 3-0-7,
with perl-5-8.0-55.
That was probably a mistake. perl 5.8.0 is horribly buggy and known to
cause occasional data loss/corruption. This is independent from the RT
version.
My index.html page displays as text rather than a normal html page. For
testing purposes I copied a standard html page to /opt/rt3/share/html, and
it displays properly.
are you seeing a text representation of html (as if your server used
the wrong content type) or are you seeing unexecuted mason code?
you need to make sure you have mod_perl installed and enabled and you’ve
setup the Mason handler stuff for RT.–On Tuesday, August 03, 2004 14:41 -0500 Raymond Norton admin@lctn.org wrote:
are you seeing a text representation of html (as if your server used
the wrong content type) or are you seeing unexecuted mason code?
seph
This is some of what is displayed in the browser:
<%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’}; }
Undocumented Features quote of the moment…
“It’s not the one bullet with your name on it that you
have to worry about; it’s the twenty thousand-odd rounds
labeled `occupant.'”
–Murphy’s Laws of Combat