Hi. I am transitioning an Apache 2.2.4 server from using mod_auth_mysql for authentication to using auth_basic. Although mod_auth_mysql is a neat solution, it was hard on my sql server. This is a small, company database, and at the direction of someone who had tried something similar, I will use a python script to run daily and update my .htaccess and .htgroup files. Because of that change, I need to change my configuration files to set up access to my protected directories again. This has been a relatively uneventful process, except for one thing: In apache2_mod_auth_mysql, if, in your <Directory> section, you use:
Code:
require user jdoe jsmith
require group admin
then jdoe, jsmith AND everyone in the admin group have access to the directory, regardless of which group jdoe and jsmith belong to.
This doesn't seem to me to be the way that auth_basic in Apache 2.2.4 works. From what I can tell (in my limited experiments), that same code above would allow only jdoe and jsmith access to the directory, and only if they were in the group "admin". Is there a way to make this work like these same directives in mod_auth_mysql? I would have to rewrite my whole group structure to make this change otherwise.
I have searched the Apache 2.2 manual, but can't seem to find anything on this topic. Google doesn't seem to have any easy answers, either. Please help! Thanks!