Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 20819 invoked from network); 15 Sep 2008 18:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 18:37:20 -0000 Received: (qmail 69985 invoked by uid 500); 15 Sep 2008 18:37:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69967 invoked by uid 500); 15 Sep 2008 18:37:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 69956 invoked by uid 99); 15 Sep 2008 18:37:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 11:37:05 -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 [216.111.149.250] (HELO ix.databoost.com) (216.111.149.250) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 18:36:06 +0000 Received: from [192.168.101.100] (68.185.70.54) by ix.databoost.com with ESMTP (EIMS 3.3.7) for ; Mon, 15 Sep 2008 11:36:45 -0700 Message-Id: <46A9A98F-C8B9-432E-83DE-744104AA99CD@pixilla.com> From: Bradley Giesbrecht To: users@httpd.apache.org In-Reply-To: <48CEA6F1.2@ice-sa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 15 Sep 2008 11:36:37 -0700 References: <93739F94E0F3BA43AD72423E2482341AE062AD@sw-rz010.gsf.de> <75629630-6A02-436F-AA4E-D8267A0C4157@pixilla.com> <48CEA6F1.2@ice-sa.com> X-Mailer: Apple Mail (2.928.1) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] find out group-membership with php You need to get a little inventive here. .htaccess: SetEnv dir_groups "system|managers|sales" # pipe delimited something.php: " . print_r ( $dir_groups , true ) . "" ) ; ?> browser result: Array ( [0] =3D> system [1] =3D> managers [2] =3D> sales ) //Brad On Sep 15, 2008, at 11:18 AM, Andr=E9 Warnier wrote: > Bradley Giesbrecht wrote: >> Looks like you could add something like this to your .htaccess: >> SetEnv dir_group "group_name" > That would work, but only if "group_name" is the only group that =20 > could have access to that directory. If there are several groups, =20 > then it does not work anymore, because you set them all to =20 > "group_name", and you lose the distinction. > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server =20 > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org