You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2003/04/23 02:37:56 UTC

RE: #perl SSI directive still not recognized in modperl 1.99_08 compiled as a DSO

On Tue, 2003-04-22 at 20:05, Joel Parramore wrote:
> I'll look at that code, though providing a patch in a timely fashion is
> beyond me at this
> time... :-(

I'll bet you could port Apache::SSI to mp2 pretty quickly.  It's faster
than mod_include anyway.

- Perrin


Re: #perl SSI directive still not recognized in modperl 1.99_08 compiled as a DSO

Posted by Stas Bekman <st...@stason.org>.
Perrin Harkins wrote:
> On Tue, 2003-04-22 at 20:05, Joel Parramore wrote:
> 
>>I'll look at that code, though providing a patch in a timely fashion is
>>beyond me at this
>>time... :-(
> 
> I'll bet you could port Apache::SSI to mp2 pretty quickly.  It's faster
> than mod_include anyway.

Apache::SSI should be probably implemented as a filter in mp2, similar to 
mod_include.

Since mod_include provides the hooks for extended functionality, we could 
implement a module that will allow you to add new commands for mod_include in 
pure perl. Similar to what Apache::Module does for writing perl hooks for new 
directives in httpd.conf (if you didn't know, in mp2 you can create new 
directives for httpd.conf in pure perl).

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com