Return-Path: Mailing-List: contact modperl-help@apache.org; run by ezmlm Delivered-To: mailing list modperl@apache.org Received: (qmail 89945 invoked from network); 25 Mar 2000 00:25:46 -0000 Received: from infiniti.cpd.harris.com (137.237.216.3) by locus.apache.org with SMTP; 25 Mar 2000 00:25:46 -0000 Received: from asparks (137-237-218-72.cpd.harris.com [137.237.218.72]) by infiniti.cpd.harris.com (8.9.3/8.9.3) with SMTP id QAA09704; Fri, 24 Mar 2000 16:24:38 -0800 (PST) Message-ID: <007701bf95f0$81b13ff0$48daed89@asparks.cpd.harris.com> From: "Alan Sparks" To: "Jie Gao" , Subject: Re: Why 'require' required? Date: Fri, 24 Mar 2000 16:24:38 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3115.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Because Apache "knows" that without "require" lines, no user authentication calls are needed. Not mod_perl, but a core Apache algorithm. -Alan -----Original Message----- From: Jie Gao > >I have this in my .htaccess file: > [config snipped] >Now if I comment out "require valid-user", neither of the >PerlAuthenHandler and PerlAuthzHandler will be evoked, even though it >is a phoney requirement for my handler; if I put in one require >statement, like 'require authentication', it'll start working again.