httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Galen Seitz <>
Subject [users@httpd] auth based on uri
Date Fri, 25 Apr 2008 21:20:35 GMT
Is it possible to do authorization based on a pattern in the uri?  I'd like to
be able to create a single container that would control access to various
directories where the directory name is the same as an auth group name.  For

<DirectoryMatch /share/([^/]+) >
    Require group \1

Instead of:

<Directory /share/proj1 >
    Require group proj1

<Directory /share/proj2 >
    Require group proj2

<Directory /share/proj3 >
    Require group proj3

If there is a way to do this, I would ultimately be doing ldap auth.


Galen Seitz

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message