Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 15325 invoked from network); 6 Aug 2004 23:09:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Aug 2004 23:09:32 -0000 Received: (qmail 80680 invoked by uid 500); 6 Aug 2004 23:09:31 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 80475 invoked by uid 500); 6 Aug 2004 23:09:30 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 80455 invoked by uid 99); 6 Aug 2004 23:09:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [66.34.202.202] (HELO minerva.ectoplasm.org) (66.34.202.202) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 06 Aug 2004 16:09:29 -0700 Received: from [192.168.140.40] (69-167-149-201.vnnyca.adelphia.net [69.167.149.201]) by minerva.ectoplasm.org (Postfix) with ESMTP id 59D3F5EB20 for ; Fri, 6 Aug 2004 16:09:28 -0700 (PDT) Message-ID: <41140FA1.9080507@ectoplasm.org> Date: Fri, 06 Aug 2004 16:09:21 -0700 From: "Philippe M. Chiasson" User-Agent: Mozilla Thunderbird 0.6 (X11/20040519) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@perl.apache.org Subject: , PerlModule, PerlRequire in .htaccess X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8904CFBDC0707F69418B342D" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------enig8904CFBDC0707F69418B342D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am looking at pending issues in todo/release, and I came upon this issue Right now, PerlModule PerlRequire can _only_ be used in Global configuration and server scope. No , htacceess, etc. The orignial conversation about this is here : http://marc.theaimsgroup.com/?t=105370088700001&r=1&w=2 I'd like to quote Stas from the last e-mail in the thread: "However doing this via proposed MP_CMD_DIR_TAKE1 doesn't seem right. We need to add .htaccess, but not change the SRV directives to DIR." I agree with him, .htaccess support makes sense, and would mean re-executing that operation for each request, IMO. So if you PerlRequire /foo/bar.pl in some .htaccess, it will get required on each request, same for sections. The question I have for all, is how can we make a directive support .htaccess without also allowing it in blocks. AFAIK, the httpd API only allows OR_ALL for this and it's both .htaccess and blocks. Thoughts ? --------------enig8904CFBDC0707F69418B342D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBFA+nyzKhB4jDpaURAjsnAKCUDO/Tr43lS7Amf1ZKOhLVDMP19wCdGmnu kMUIJBxKryUJBG+94+hBv+8= =c7gl -----END PGP SIGNATURE----- --------------enig8904CFBDC0707F69418B342D--