Re: Using add_config to trigger authentication

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Wednesday, March 23, 2011 15:26:48 Andrew Green wrote:
> Interestingly, adding a PerlMapToStorageHandler caused a segfault

Does your code by chance return Apache2::Const::OK? If so, try to change it to 
DECLINED. A PerlMapToStorageHandler returning OK prevents the core map2storage
handler to be run. Thus, $r->filename, $r->finfo and $r->pathinfo may be 
unset. This may cause the segfault.

The problem with the PerlHeaderParserHandler is that it is skipped for 
subrequests. That might in your case affect security.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.