I know that we can manually parse the htaccess group file with REMOTE_USER to get the group name. But is there a way for CGI to get the group name from the apache2 ?
Apache does not make the full list of groups for the user, or the groups that caused authorization to succeed, available to CGI or other modules.