I did a pretty thorough search, and I really still can’t believe it, but it appears that there’s no publicly available centralized authorization module for Apache. Specifically, what I’m looking for is something that would allow storing of all authorization information, including location or directory restriction in a database structure. All the db auth modules I’ve found still require rules to be entered / manually edited for each folder. I must be missing something. What’s the point of putting the user/groups in a db if you still have to make individual .htaccess files to get it working?
PHPAuthPg uses mod_auth_pg’s query directive to pass in a folder, but you still have to insert the path manually? I don’t get it. Algorithmicly, making a centralized authorization module should be trivial, although not having written C in about 5 years and having never written a module before does put a damper on things. Still having the source of these existing modules means that most of the code is already written…