Dynamic authentication realms in Apache
- by Cogsy
I have a front end server acting as a gateway proxy for many (a dynamic 'many') building monitors with embedded webservers.
They are accessed with a URL like:
http://www.example.com/monitor1/
http://www.example.com/monitor2/
...
I'm trying to restrict access to these monitors to only the users that own them. So what I need is a way of specifying rights to users or groups for specific directories.
The standard auth mechanisms I see in Apache won't work because I need to specify every location. I'd prefer some dynamic map or script.
Any suggestions?