On Tue, 27 Aug 2002, Jay Thorne wrote:

> On August 27, 2002 02:16 pm, Per Einar Ellefsen wrote:
> > At 23:09 27.08.2002, Jay Thorne wrote:
> > >In a mod_perl handler, in the m_p1.x/apache1.3 api, Is there a quick way
> > > to tell apache
> > >"I'm done, here's my content, and I want you to run this through
> > > mod_include before you send it to the user"
> >
> > You might want to try a filter, for example Apache::OutputChain, see
> > http://perl.apache.org/docs/1.0/guide/modules.html#Apache__OutputChain____C
> >hain_Stacked_Perl_Handlers and the Apache::OutputChain manpage formore
> > information. The same is true for Apache::Filter:
> > http://perl.apache.org/docs/1.0/guide/modules.html#Apache__Filter___Alter_t
> >he_output_of_previous_handlers . Both provide approximately the same
> > functionality.
> 
> Thats close to what I want to do, but as the existing code has its entry 
> already in the webserver config.
> 
> What I mean is something like "$r->next(mod_include); OK;"
> or items to that effect.
> 
> Is there a direct apache api hook I can use to tell the system to call 
> mod_include with the current content?

The Apache-WinBitHack module, available through
http://www.modperlcookbook.org/download/, may do something
similar to what you want - after it's through, it does
   $r->handler('server-parsed');
   return OK;
to let mod_include pick things up from there.

-- 
best regards,
randy kobes

Reply via email to