Re: PerlHandler stopped working???

2000-05-05 Thread Doug MacEachern
On Tue, 25 Apr 2000, Matt Sergeant wrote: I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I guess. For example, say your config contains: oh yeah, i forgot, you can call mod_mime's fixup directly

Re: PerlHandler stopped working???

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: On Tue, 25 Apr 2000, Matt Sergeant wrote: I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I guess. For example, say your config contains: oh

Re: PerlHandler stopped working???

2000-05-05 Thread Doug MacEachern
On Fri, 5 May 2000, Matt Sergeant wrote: Really really freaky. However I assume you saw the post - I solved it by doing push_handler() with a Fixup and returning DECLINED. That way mod_mime gets to do its stuff, and my content_type still gets set regardless. yeah, i know, it's cinco de

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
, it was Apache::MimeXML... Which is very odd indeed. A bug in mod_perl by the looks of things. All I'm returning from Apache::MimeXML, btw, is OK or DECLINED. It was returning OK when PerlHandler stopped working. For now I'll disable it, and set Mime types manually for .xml files - but something

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
the PerlFixupHandler phase to execute)??? OK, it was Apache::MimeXML... Which is very odd indeed. A bug in mod_perl by the looks of things. All I'm returning from Apache::MimeXML, btw, is OK or DECLINED. It was returning OK when PerlHandler stopped working. For now I'll disable it, and set

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
I guess the problem is that mod_mime implements SetHandler - and I'm not convinced it should. If you were given the opportunity to do it all again understood, but this is how apache is designed, mod_perl is just going with the flow here. I'd suggest it be done as follows: If a

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Doug MacEachern wrote: I guess the problem is that mod_mime implements SetHandler - and I'm not convinced it should. If you were given the opportunity to do it all again understood, but this is how apache is designed, mod_perl is just going with the flow here.

Re: PerlHandler stopped working???

2000-04-25 Thread Randal L. Schwartz
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes: Matt I guess one important question is - why do we have to call SetHandler for Matt PerlHandlers and not for any of the other handler phases. For all the Matt other phases Apache/mod_perl automatically figures out if there's a Matt handler

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I you'd still have the same problem, Apache stops calling type handlers after the first one returns OK. besides, you can apply the SetHandler config