ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá














     áòèé÷ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [apache-talk] group



Hello Olga,

ËÒÉ×Ï, ËÏÎÅÞÎÏ, ÎÏ ËÏÍÕ ÓÅÊÞÁÓ ÌÅÇËÏ ?

$luser = $ENV{'REMOTE_USER'};
@passfile = `cat /path/to/your/authgroupfile`;
foreach (@passfile) {
        if ($_ =~ /$luser/) { $_ =~ s/\A(\w+):.*/$1/;
        $ENV{'REM_GROUP'} = $_;
        }
}

Kind regards,

duke <void@void.ru   |  http://void.ru>
---------------------------------------
nothing is illegal until you get caught


=============================================================================
=               Apache-Talk@lists.lexa.ru mailing list                      =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
=       Archive avaliable at http://www.lexa.ru/apache-talk                 =



 




Copyright © Lexa Software, 1996-2009.