On Mon, 1 Nov 1999, John Siracusa wrote: > On 11/1/99 2:32 AM, Doug MacEachern wrote: > > or use this undocumented feature: > > > > $Apache::ERRSV_CAN_BE_HTTP = 1; #set this anywhere, startup script is best > > die FORBIDDEN; > > > > mod_perl peeks at $@, if it's a 3 digit http status code, it propagates > > that value to Apache. > > Sounds great, but I'm hesitant to use "undocumented features." Will > anything like this ever make it into the official spec? For now I'm > using eval, I guess, but I'm all for official support for this > functionality! :) Of course, the method could be a bit more friendly. > I mean, no one likes seeing "SV" on the Perl side of things, even if > it is just a variable name ;) well, it's only undocumented and awkward to enable because I wasn't sure how useful the feature would be. it's in the code base for when the need arises, like right now, so try it, if it's useful then it can be documented, etc.
- Intentional Premature Finish in an Apache Module Public Interactive
- Re: Intentional Premature Finish in an Apache Modu... Ken Y. Clark
- Re: Intentional Premature Finish in an Apache ... John Siracusa
- Re: Intentional Premature Finish in an Apa... Ken Y. Clark
- Re: Intentional Premature Finish in an... John Siracusa
- Re: Intentional Premature Finish in an... Andrei A. Voropaev
- Re: Intentional Premature Finish in an Apache Modu... Doug MacEachern
- Re: Intentional Premature Finish in an Apache ... John Siracusa
- RE: Intentional Premature Finish in an Apa... Doug MacEachern
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
- Re: Intentional Premature Finish in an Apache ... Public Interactive
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
- Re: Intentional Premature Finish in an Apache Modu... Public Interactive
- RE: Intentional Premature Finish in an Apache Modu... Eric Cholet
- RE: Intentional Premature Finish in an Apache Modu... Young, Geoffrey S.