Problem on install

Hello list.

Ive been trying to set RT up for a few days now, and I seem to be running
into problems left and right. I have been able to find qeustions for most of
them, but I am stumped on the current one…

I created an alias in my apache config so I can access RT.

When I get to the index page, I get a bunch of, how do I put it, gobaly goop
basically. Heres a snippet:

%# BEGIN LICENSE BLOCK %# %# Copyright © 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”) &>

<& /Elements/MyTickets &>
<& /Elements/MyRequests &>

After that block, theres what appears to be a button I can press, then some
more stuff:

<%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’}; }

That’s the end of the page right there.

If anyone knows what I can do to solve this problem that would be awesome.

Thanks

John Barbieri

Reason of error: Your httpd is not well configured. You didn’t activate
RT::Mason handler for location of RT. apache alias is not enough.

You can find sample configs at wiki.bestpractical.com and in archives.
If this links wouldn’t help then You can share RT’s httpd.conf parts.

		Best regards. Ruslan.

John Barbieri wrote:

Hello list.

Ive been trying to set RT up for a few days now, and I seem to be
running into problems left and right. I have been able to find qeustions
for most of them, but I am stumped on the current one�…

I created an alias in my apache config so I can access RT.

When I get to the index page, I get a bunch of, how do I put it, gobaly
goop basically. Heres a snippet:

[snip]

I have tried multiple different ways to have apache configured.

I am sorry, for I forgot to say this is on a FreeBSD 4.10RELEASE box, with
RT3 with Apace 1.3 installed via the ports collection.

Some stuff ive done (added to the apache confige file):

LoadModule fastcgi_module libexec/apache/mod_fastcgi.so
AddModule mod_fastcgi.c

Outside the vhost:

FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -idle-timeout 300
-processes 5

In your vhost:

AddHandler fastcgi-script fcgi
ScriptAlias / /usr/local/rt3/bin/mason_handler.fcgi/
Alias /NoAuth/images/ /usr/local/rt3/share/html/NoAuth/images/

AddDefaultCharset UTF-8
SetHandler fastcgi-script

That didn’t do anything…

I also tried adding:

AddHandler fastcgi-script fcgi fcgi fpl
AddHandler fastcgi-script fcgi

Outside the virtual host, and that did not work either.

I also noticed in some manuals I was supposed to use

SetHandler perl-script

In the Vhost, and that didn’t work either.

Most of the time, no matter how I do it, the main page comes out the
same…

Any ideas???

Thanks

John BarbieriFrom: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: Tuesday, August 24, 2004 2:39 AM
To: John Barbieri
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] problem on install

Reason of error: Your httpd is not well configured. You didn’t activate
RT::Mason handler for location of RT. apache alias is not enough.

You can find sample configs at wiki.bestpractical.com and in archives.
If this links wouldn’t help then You can share RT’s httpd.conf parts.

		Best regards. Ruslan.

John Barbieri wrote:

Hello list.

Ive been trying to set RT up for a few days now, and I seem to be
running into problems left and right. I have been able to find qeustions
for most of them, but I am stumped on the current one…

I created an alias in my apache config so I can access RT.

When I get to the index page, I get a bunch of, how do I put it, gobaly
goop basically. Heres a snippet:

[snip]

If anyone knows what I can do to solve this problem that would be awesome.

Thanks

John Barbieri



http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com