Re: [users@httpd] per location group based authentication

2011-07-13 Thread S. Levent Yilmaz
Hi again, Apologies for the double post. The question was to set "Require group " for a dynamically set group-name, based on directory/location where the Require is specified. One potential answer was to set an (environment?) variable via mod_rewrite. That is possible of course, but it seems th

Re: [users@httpd] per location group based authentication

2011-07-07 Thread S. Levent Yilmaz
Thanks for the response. That seems doable, however, I wasn't able to figure out how to use an (environment) variable with Require directive? I couldn't tell that from the docs http://httpd.apache.org/docs/current/en/env.html that this is in fact possible; and if it is, how to reference the varia

Re: [users@httpd] per location group based authentication

2011-07-07 Thread Igor Cicimov
Have you tried setting a variable and use it as group name? Have a look at SetEnvIf and RewriteRule options for setting variables. Igor On Fri, Jul 8, 2011 at 2:11 AM, S. Levent Yilmaz wrote: > Hi all, > > I am trying to setup URI based authentication, and am not sure if this > is doable. Curren

[users@httpd] per location group based authentication

2011-07-07 Thread S. Levent Yilmaz
Hi all, I am trying to setup URI based authentication, and am not sure if this is doable. Currently, manually set permissions look like (omitting all non-pertinent config details): Require group foo Require group bar ... Is there anyway to do this automatically, where the group name is