On Tue, 21 Mar 2006 18:45:26 +0100
Heike Franosch <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I have multiple projects and users that should access projects
> according to attributes in an ldap.
> I configured apache for each project with an ldap filter:
> something like
> <location match=/trac/project_1>
> ...
> require ldap-attribute accessProject="project_1"
> </location>
> 
> <location match=/trac/project_2>
> ...
> require ldap-attribute accessProject="project_2"
> </location>
> 
> I have not found a way to parametrize the project_?. Is it possible?

You can use regexps:
{{{
 <Location ~ "^/trac/project_[0-9]+$">
}}}

For more info about Location directive see
[http://httpd.apache.org/docs/2.0/mod/core.html#location apache website]

> 
> Or am I totally wrong, and there is a really simple way of doing it?
> 
> Thanks fo any help,
> Heike
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 
> _______________________________________________
> Trac mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to