[users@httpd] LocationMatch regex with backreference?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- Mário

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux