Fwd: LocationMatch regex variables for Auth*?

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

 



Hello all,

I need to create many very similar LocationMatch directives
with Auth directives inside, since each location needs to be
restricted to a different user. I am looking for a means to get
this functionality that is more maintainable than adding/
removing many similar chunks of config by passing data from
a LocationMatch regexp to the Auth directives. Does anybody
have any idea how I might go about this? Pseudo-code:

<LocationMatch "/private/(.+)" >
AuthType Digest
AuthDigestFile /var/data/httpd/auth/$1
...
</LocationMatch>

Or some other means of acheiving the deesired result: /private/bob requires certain credentials to access and /private/mary requires other credentials, with minimal config; ideally write-once, and no further maintenance/modification/duplication required.

Thanks in advance!

P.S. Sorry for any HTML in the message, gmail for Android has no text-only :-/


[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