Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 018691739D for ; Wed, 22 Apr 2015 07:23:48 +0000 (UTC) Received: (qmail 64651 invoked by uid 500); 22 Apr 2015 07:23:47 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 64614 invoked by uid 500); 22 Apr 2015 07:23:47 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 64604 invoked by uid 99); 22 Apr 2015 07:23:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2015 07:23:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for modperl@perl.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2015 07:23:39 +0000 Received: from mail1.bemta14.messagelabs.com (mail1.bemta14.messagelabs.com [193.109.254.113]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 997EB43EC8 for ; Wed, 22 Apr 2015 07:23:18 +0000 (UTC) Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id 70/C5-13722-F5C47355; Wed, 22 Apr 2015 07:23:11 +0000 X-Env-Sender: j.gao@sydney.edu.au X-Msg-Ref: server-16.tower-27.messagelabs.com!1429687387!14579321!2 X-Originating-IP: [129.78.4.13] X-StarScan-Received: X-StarScan-Version: 6.13.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 24093 invoked from network); 22 Apr 2015 07:23:11 -0000 Received: from em-gw1-pro-3.ucc.usyd.edu.au (HELO em-gw1-pro-3.ucc.usyd.edu.au) (129.78.4.13) by server-16.tower-27.messagelabs.com with SMTP; 22 Apr 2015 07:23:11 -0000 Received: from inforich.ucc.usyd.edu.au (dmz5-snt-21.ucc.usyd.edu.au [172.20.34.21]) by em-gw1-pro-3.ucc.usyd.edu.au (Postfix) with ESMTP id 0110980002 for ; Wed, 22 Apr 2015 17:23:10 +1000 (AEST) Received: by inforich.ucc.usyd.edu.au (Postfix, from userid 5336) id C15F227E0082; Wed, 22 Apr 2015 17:23:10 +1000 (AEST) Date: Wed, 22 Apr 2015 17:23:10 +1000 From: Jie Gao To: modperl@perl.apache.org Subject: Apache 2.4: scope of PerlAddAuthzProvider Message-ID: <20150422072310.GB28298@inforich.ucc.usyd.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org Hi When I put the following line within a "Location" section: PerlAddAuthzProvider user My::MyAuth::AuthCookie->authen I get an error: "AH00526: Syntax error on line 545 of /usr/local/httpd-2.4.12/conf/httpd.conf: PerlAddAuthzProvider not allowed here" . But if I put it outside the container, it'll apply globally to everything and that is not what I want. Can somebody clarify this? Regards, Jie