On 8/13/06, Michael Peters <suppressed> wrote:
Michael Petnuch wrote:
> Joel:
>
> I guess I am no longer the only one experiening this problem. See
> this thread
> (http://www.mail-archive.com/suppressed/msg05428.html).
> As for a solution, I edited the Dispatch module (around line 608) to
> look like this:
>
> unless($r->status == 200) {
> return $r->status;
> } else {
> return OK();
> }
Thank you Michael and Joel for bringing this up again (sometimes I need
reminding). I'm working on a permanent fix since the above will not work with
mod_perl 2 and only works with mod_perl 1 because so many people were returning
HTTP status codes instead of mod_perl constants that they tried to compensate.
I'm pretty sure I'm running mod_perl 2.0.2. I went through a whole thing manually uninstalling 1.999.22 and installing it just so I could get CA::Dispatch running. (see previous thread "Trouble installing CA::Dispatch")
After I come up with an acceptable fix, I might hit both of you up for testing to make sure it does what you need it to do. After that, it'll be on CPAN. Thanks again.
Of course.
Joel
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.