Can someone on the list share any information about this? Without modification, our scripts work fine until they generate a Cookie, Location header or other header using our own methods (without using $r).
> because I'd like to move towards more native MP code anyway! ditto. Thanks Kevin ----- Original Message ----- From: "Kevin A. McGrail" <[EMAIL PROTECTED]> To: "Bill Whillers" <[EMAIL PROTECTED]> Sent: Tuesday, July 12, 2005 5:37 AM Subject: Re: MP2 - ("did not send an HTTP header") > I've gotten the opinion so far that this is more of an Apache2 and not a > MP2 issue. That's why the $r->assbackwards method is really > re-configuring an Apache2 core method. > > But I agree that this was very annoying because I had hoped to switch > several scripts that would benefit from perlrun/registry but believe I > will need to now hunt down the content-type/location/cookie/etc. code that > is outputted and use the mp2 header methodology to avoid the did not send > HTTP header error from the Apache core. > > The reason I haven't delved deeper is that I believe the issue should be > fixed fairly simply with some code like this: > > if (MP2) { > $r->err_headers_out(whatever=>'something'); > } else { > print "Content-type: text/html\n"; > } > > This is probably a "good thing" because I'd like to move towards more > native MP code anyway! > > Regards, > KAM > > ----- Original Message ----- > From: Bill Whillers <[EMAIL PROTECTED]> > To: "Kevin A. McGrail" <[EMAIL PROTECTED]> > Sent: Monday, July 11, 2005 10:38 PM > Subject: Re: MP2 - ("did not send an HTTP header") > >> Thanks. This seems to have become a big can of worms-- much more involved >> than >> moving CGI to MP1x. Unless I have some revelation that does not involve >> re-writing or a severe re-architect of what we've got, I'll abandon this >> project and just stick to MP-1.99. >> >> I'm having trouble finding anything that even touches on why we're >> hitting >> trouble that did not seem to exist in earlier revs. The "META" comments >> seem >> to pick up right where I need more info. >> >> Of course, if I find something, I'll post it. -------------------------------------------------------