httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] LocationMatch regex with backreference?
Date Sun, 25 Sep 2005 18:30:30 GMT
On 9/25/05, Mário Lopes <mario.lopes@gmail.com> wrote:
> Hi.
>
> This is what I'm trying to do (put on abstract terms):
>
> <LocationMatch "/www/(.*)$">
>      # Set the SVN path based on what the user wrote
>     SVNPath /svn/rep/$1
>     # require group access through mod_auth_pam
>     require group $1
> </LocationMatch>
>
> So as you see I need a backreference to identify the repository and to
> set the required group for authentication. How can I do this? I
> haven't found any reference on how to use backreferences inside a
> LocationMatch. Using apache 2.0.53 and any help would be much
> appreciated. Thanks in advance

No, you can't do this.  I  believe you problem in the first directive
would be solved by using SVNParentPath rather than SVNPath.  The
second one might be solved  by mod_auth_svn.

Joshua.

---------------------------------------------------------------------
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