[rt-users] RT 3.8 and Apache 2, NoAuth pages not parsed by RT?

Zuckercorn, Barry zuckercorn.barry at gmail.com
Fri Mar 5 11:51:36 EST 2010


>> <VirtualHost prod-interface-ipaddress:8383>
>>     ServerName host.fqdn
>>     Alias /NoAuth/images/ /local/rt/rt-current/share/html/NoAuth/images/
>>     Alias /NoAuth/resnet/ /local/rt/rt-current/share/html/NoAuth/resnet/
>
> This rather explicitly tells apache *not* to pass the resnet pages
> through RT, so I'm hardly surprised that it is failing.

The only reason I tried that was because RT is not presenting
/NoAuth/resnet correctly.  When I remove that line and so that the
only non-SSL-related directives are:

<VirtualHost ip.address:8383>
   ServerName host.fqdn
   Alias /NoAuth/images/ /local/rt/rt-current/share/html/NoAuth/images/
   DocumentRoot "/local/rt/rt-current/share/html"
   ScriptAlias / /local/rt/rt3/bin/mason_handler.fcgi/

<Location /NoAuth/images>
       SetHandler default-handler
</Location>

It doesn't allow a request for /NoAuth/resnet/index.html to be
processed at all -- I get an RT page that says the file isn't found.

If I just request /NoAuth/resnet/ it generates the page but doesn't
execute any of the perl needed to create the table like it does on our
production system.

This ( http://farm3.static.flickr.com/2769/4408373509_40b85ff521.jpg )
is a window-grab that shows a browser window of how it looks when
requesting /NoAuth/resnet/ from RT to better illustrate what I'm
seeing in the hopes that it shows something useful to you (or anyone else)!

If you don't want to view the image I'll paste what is generated:

 New & Open Resnet Tickets.
<%PERL> my $tickets = new RT::Tickets($user);
$tickets->LimitQueue(VALUE => 'resnet'); $tickets->LimitStatus(VALUE
=> 'open'); $tickets->LimitStatus(VALUE => 'new');
$tickets->OrderBy(FIELD => 'id', ALIAS => 'main', ORDER => 'DESC'); %
if ($tickets->Count) { %while (my $ticket = $tickets->Next) { %
$restrict = 1; %my $Field1 = $ticket->CustomFieldValues(13); % while
(my $Test1 = $Field1->Next()) { % $restrict = $Test1->Content; % }
%if($restrict ne 'True') { % $i++; % } % } % }

(and then the HTML table with <%$ticket->Id%> under ID,
<%$ticket->Subject%> under Subject, etc.

So it looks to me like the perl isn't being executed at all but I
don't know why.

This is the last blocker I have before I can deploy 3.8, I have
everything else working as before except for these pages.  Thank you
again for taking the time to assist.



More information about the rt-users mailing list