[rt-users] Re: this has got to be simple, but.......

Michael Loftis mloftis at wgops.com
Tue Aug 3 15:44:37 EDT 2004


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 at 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'}; }
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>



--
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




More information about the rt-users mailing list