On Mon, Sep 15, 2008 at 2:36 PM, Bradley Giesbrecht <[EMAIL PROTECTED]> wrote:
You need to get a little inventive here.

.htaccess:
SetEnv dir_groups "system|managers|sales" # pipe delimited


Not so useful  as it doesn't tell you which one your user is a member
of.  Authorization info doesn't seem to be propogated by Apache.
Eric Covener
[EMAIL PROTECTED]

The user may also be a member of multiple groups.

I don't use apache auth but here is an alternative to SetEnv.
<?php
$dir_groups = file( "htgroupd" ) ;
die ( "<pre>" . print_r ( $dir_groups , true ) . "</pre>" ) ;
?>

Personally I like to useing something other then apache auth so you can do simple things like LOGOUT without a bunch of trickery.

Check out pear auth for something simple:
http://pear.php.net/package/auth/

//Brad



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to