[rt-users] Redirect sending http-status code 200 instead of 302

Otmar Lendl ol at bofh.priv.at
Fri Sep 4 11:07:24 EDT 2009


Hi,

Versions:

RT 3.8.2, RTIR 2.4.1, Apache 2.2.9, mod-perl2 2.0.4, Mason 1.39

Symptoms:

Urls like .../rt/Ticket/Display.html?Action=Take&id=16522 execute the
Take, but don't show the Ticket.

Debugging:

The problem seems to be that RT redirects to itself to show the ticket
with an URL that is safe for a reload. Display.html is calling
RT::Interface::Web::Redirect, which is calling Mason's
(Mason/CGIHandler.pm) redirect(), which is calling header_out,
which ....

But still, the access-log and the packet trace shows the correct
Location: header and HTTP status code 200 instead of the required 302.

This all looks pretty much like 
http://www.masonhq.com/?ApacheModPerl2Redirect but all that refers to
older versions of the components.

Any clues? 

Would upgrading to 3.8.4 help? 

(Can I even do that with the installed RTIR?)

Thanks.

/ol
-- 
-=-  Otmar Lendl  --  ol at bofh.priv.at  --  http://lendl.priv.at/  -=-



More information about the rt-users mailing list