httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradley Giesbrecht <b...@pixilla.com>
Subject Re: [users@httpd] find out group-membership with php
Date Mon, 15 Sep 2008 16:41:40 GMT
I don't know the answer to your question but have you considered using  
php for authentication and access control?

Your probably better off using $_SERVER then getenv().

Put this at the top of a php page to see what is available.

die ( "<pre>" . print_r ( $_SERVER , true ) ) . "</pre>" ) ;


Brad

On Sep 15, 2008, at 9:30 AM, Lentes, Bernd wrote:

> hello,
>
> we created a website with content which should be presented  
> differently, according to group-membership.
> We did this with AuthGroupFile in a .htaccess.
> For static html-pages it worked fine. We want now to generate  
> dynamic content.
> In php it's possible to find the username with getenv("REMOTE_USER").
> Is there a possibility to find out the group with something similar ?
>
> Bernd
>
> -- 
> Bernd Lentes
> staatl. geprüfter Techniker
> Systemadministration
> Institut für Entwicklungsgenetik
> HelmholtzZentrum münchen
> Raum 35/1008f
> Ingolstädter Landstraße 1
> 85764 München-Neuherberg
> mailto:bernd.lentes@helmholtz-muenchen.de
> phoneto:089/3187-1241
> faxto:089/3187-3826
> http://www.helmholtz-muenchen.de/idg/
>
>
>
>
> ---------------------------------------------------------------------
> 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: 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message