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

Kevin Falcone falcone at bestpractical.com
Fri Mar 5 12:07:34 EST 2010


On Fri, Mar 05, 2010 at 10:51:36AM -0600, Zuckercorn, Barry wrote:
> >> <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.

I suggest you work with that error, and read your logs.
Your problem is that the file is being served by apache, not RT's
mason handler.

-kevin

> 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.
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100305/fcf23064/attachment.sig>


More information about the rt-users mailing list