Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 15015 invoked from network); 18 Jan 2006 19:16:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jan 2006 19:16:29 -0000 Received: (qmail 6723 invoked by uid 500); 18 Jan 2006 19:16:24 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 6712 invoked by uid 500); 18 Jan 2006 19:16:23 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 6701 invoked by uid 99); 18 Jan 2006 19:16:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 11:16:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gozer@ectoplasm.org designates 66.34.202.202 as permitted sender) Received: from [66.34.202.202] (HELO minerva.ectoplasm.org) (66.34.202.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 11:16:23 -0800 Received: from minerva.ectoplasm.org (localhost.localdomain [127.0.0.1]) by pmx.secure.ectoplasm.org (Postfix) with SMTP id B66115EB21; Wed, 18 Jan 2006 11:16:02 -0800 (PST) Received: from [192.168.10.200] (unknown [192.168.10.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by minerva.ectoplasm.org (Postfix) with ESMTP id 581155EB20; Wed, 18 Jan 2006 11:16:02 -0800 (PST) Message-ID: <43CE93EE.7010205@ectoplasm.org> Date: Wed, 18 Jan 2006 11:15:58 -0800 From: "Philippe M. Chiasson" User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stas Bekman CC: mod_perl Dev Subject: Re: [mp2 patch] accessors for User and Group directives in httpd.conf References: <43CC4437.4050100@stason.org> In-Reply-To: <43CC4437.4050100@stason.org> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig19C8222F01C5913F17A487D6" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------enig19C8222F01C5913F17A487D6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Stas Bekman wrote: > I've added accessors to Group and User directives in httpd.conf, so that > now you can get that info via: > > my $user_id = Apache2::ServerUtil->user_id; > my $group_id = Apache2::ServerUtil->group_id; > > the patch is inlined and attached (due to long lines). > > Please let me know if you are happy with this approach or you want it to > be different. (including the test). I am not sure why the test is called apache/deamon ? > Another concern is windows - so if someone can try to build with this > patch on windows that would be great. Patch looks good, at least on Linux/OSX it passes all tests 100%. It certainly would be nice to get feedback for win32 platforms before checking it in. Otherwise, I think it's a good idea. -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5 --------------enig19C8222F01C5913F17A487D6 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.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDzpPuyzKhB4jDpaURA/p1AKC3yoZulx085hEn3yO/M1diupipbACgjafx yJAZoU/qmuz345+nVAMyfPM= =FteH -----END PGP SIGNATURE----- --------------enig19C8222F01C5913F17A487D6--