On 9/29/06, Graham TerMarsch <[EMAIL PROTECTED]> wrote:
I'm using CAP::Authentication in an app right now, along with
CGI::Application::Dispatch, all running under mod_perl2. What happens is
that any time that CAP::Authentication does a redirect, I get back "200 - OK"
HTTP response headers instead of "302 - Moved" headers... This causes the
unfortunate problem of showing a "Document has moved 'here'" page each time
someone logs in/out, instead of doing the actual redirect.
From digging a bit further into CAP::Authentication I see that the "Location"
header gets set up properly when doing redirects, but the HTTP Status
is --not-- set up.
This looks like an oversight on my part. Thanks for reporting this.
I have packaged up a new version which you can download here:
http://cees.crtconsulting.ca/perl/modules/CGI-Application-Plugin-Authentication-0.12.tar.gz
Let me know if that fixes things for you, and I'll upload it to CPAN.
Cheers,
Cees
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]