Jean-Michel Hiver wrote:
> 
>> I don't think this is ever going to work in mp1 under Registry.  for the
>> most part, allowing a script to set the status of the response line is a
>> hack - I'm not sure how widely documented it is (I've only ever seen
>> it in
>> comments in Apache core myself) and I don't see the code at all in Apache
>> 2.0.
>>
> Well, it _does_ work properly under mod_cgi. Since Apache::Registry is
> supposed to emulate mod_cgi, I think it's a bug in Apache::Registry.

Registry is not a pure emulation of mod_cgi.  it tries to be and even does
an excellent job, but there are a few prices to be paid for the speed due to
the fact that it is, after all, an emulation enhanced for speed and not a
pure mod_cgi forked and buffered environment.  you've stumbed on to one of
them, but it's not surprising, seeing as how (as I mentioned) it's a rather
obscure feature you're using.

> Which is why I've sent a bug report using your most impressive test
> skeleton.

glad you like it :)  makes for a great starting point for projects, too...

> 
> Anyhow, I have the feeling that I'm going to have to stick with the
> empty ErrorDocument hack... As you mentioned off list it's really wrong,
> but at least it sort of works how it's supposed to be.

as Perrin suggested, PerlSendHeaders Off should be your ticket.  had I more
time at this moment I'd launch your skeleton to prove it.  but if
PerlSendHeaders Off doesn't work, I'll try and track it down some more -
you've given me a good starting point.  thanks :)

--Geoff


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to