You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jean-Michel Hiver <jh...@mkdoc.com> on 2003/03/26 17:02:17 UTC

Another wicked mod_perl question :)

Hi List,

I know that it's possible to chain Apache handlers in a way that the
next handler is executed if the previous handler returned DECLINED.

I would like to have the following execution chain:

Handler1
Handler2
...
HandlerN
CGI script (running either as pure CGI or under Apache::Registry).

Any ideas on how to do that?
Cheers,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver@mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/

Re: Another wicked mod_perl question :)

Posted by Perrin Harkins <pe...@elem.com>.
Jean-Michel Hiver wrote:
> I know that it's possible to chain Apache handlers in a way that the
> next handler is executed if the previous handler returned DECLINED.

It sound like you're looking for this:
http://perl.apache.org/docs/1.0/guide/config.html#Stacked_Handlers

The next handler is also executed if you return OK.

- Perrin