Re: Using add_config to trigger authentication

Andrew Green <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi Torsten,

On 23 Mar 2011, at 15:02, Torsten Förtsch 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.

Actually, even the following causes a segfault:

$r->push_handlers(PerlMapToStorageHandler => Apache2::Const::DECLINED);


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

Thanks -- that's very useful to know.

Cheers,
Andrew.

-- 
Andrew Green
Article Seven Limited
http://www.article7.co.uk/

Article Seven Limited is a registered company in England and Wales.  Registered number: 5703656. Registered office: 73 Lassell Street, Greenwich, London, SE10 9PJ.
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.