[rt-users] Re: this has got to be simple, but.......
Ruslan U. Zakirov
cubic at acronis.ru
Tue Aug 3 15:45:05 EDT 2004
Your apache config is incorrect.
Raymond Norton 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
More information about the rt-users
mailing list