logo       

Re: Stacked Handlers Execution Chain: msg#00533

apache.mod-perl

Subject: Re: Stacked Handlers Execution Chain



Helmut Zeilinger wrote:
Hi,

i am using mod_perl 1.99_08.

I have two mod_perl handlers:

...
PerlResponseHandler Test::handler0 Test::handler1
...

How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED, FORBIDDEN, 404)
the handler1 is still executed. The documentation says, that any value
except DECLINED should do that.

it probably should say that OK, DECLINED, or DONE will allow the chain to continue. anything else ought to immediately terminate the chain - if not, it's probably a bug. you might want to see if there is a difference between returning FORBIDDEN, NOT_FOUND, and SERVER_ERROR (well, their 2.0 equivalents, anyway), just to help track things down.

--Geoff




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

News | FAQ | advertise