logo       

Re: Does SSI work with Mason?: msg#00213

web.mason.user

Subject: Re: Does SSI work with Mason?

On Tue, 26 Aug 2003, David R. Baird wrote:

> When you set up a perlhandler to do content generation, you
> bypass Apache modules like SSI - they never get to look at the
> page.
>
> But you can implement SSI in perl - see Apache::SSI. That gives
> you the ability to use Apache::Filter to chain handlers.
>
> The only problem is that for a couple of SSI directives,
> Apache::SSI needs to be the last filter in the chain, and I
> vaguely remember seeing somewhere that Mason also needs to be the
> last member if using it with Apache::Filter?

No, it's the other way around. Mason is designed to be a producer and
there's no way to have it be anything but the first part of a filter
chain. Mason can't take content from upstream and treat it as a
component, although a custom resolver subclass might do the trick.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise