Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 98342 invoked from network); 10 Jun 2008 19:44:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 19:44:43 -0000 Received: (qmail 84808 invoked by uid 500); 10 Jun 2008 19:44:45 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 84748 invoked by uid 500); 10 Jun 2008 19:44:44 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 84699 invoked by uid 99); 10 Jun 2008 19:44:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 12:44:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.200.161] (HELO web30908.mail.mud.yahoo.com) (68.142.200.161) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Jun 2008 19:43:54 +0000 Received: (qmail 40662 invoked by uid 60001); 10 Jun 2008 19:44:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=hSuzW5F+Tgqw5eyeEwK0C8+1LZuq6j3NuDeXDxPIIT8w8L2U3aCvotQTP4xua5kRpc0D6xnGackHrls3GdZYem757ai+BjYlPSMv++5dfDMY3yC9yRx/7iWq7fdTMKIDn0jTfR5+01hrfPbFweIOWqJ5ajzkAT+i5pAt7EyWGw4=; Received: from [12.170.21.82] by web30908.mail.mud.yahoo.com via HTTP; Tue, 10 Jun 2008 12:44:10 PDT X-Mailer: YahooMailWebService/0.7.199 Date: Tue, 10 Jun 2008 12:44:10 -0700 (PDT) From: John Zhang Subject: Re: enable override (allow htaccess use) To: modules-dev@httpd.apache.org In-Reply-To: <484EAE8A.3030104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <2581.40294.qm@web30908.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org >--- On Tue, 6/10/08, Andy Grant wrote: >From: Andy Grant >Subject: enable override (allow htaccess use) >To: modules-dev@httpd.apache.org >Date: Tuesday, June 10, 2008, 9:40 AM >How do you enable/disable the use of your directives in htaccess files? >I've read about context and overrides, but can't find them in reference >to developing a module, just in reference to using them (i.e. >AllowOverride FileInfo). Thanks.=A0 In your command table, when you specify your directive. The 4th argument o= f the macros (eg AP_INIT_TAKE12(...)) specifies where/how your directive ca= n be placed. See http_config.h for the meanings. Here is one define from the .h file #define OR_LIMIT 1=09 /**< *.conf inside or =09=09=09=09and .htaccess when AllowOverride Limit */