How could I give different access to sub-directories?
The first problem is: I must let the programmers modify the htaccess files, but not the access control.
I have access only to htaccess directives for once, not to the httpd.conf of Apache. And here are my folders:
~/www/
~/beta/ -> group betatesters developers
~/dev/ -> group developers
I would like to have only one .htaccess located in the root directory (developers don't have access there).
~/.htaccess
~/htpassd
~/htgroup
.
AuthType Basic
AuthName "Password Required"
AuthUserFile /home123/user321/htpasswd
AuthGroupFile /home123/user321/htgroup
<FilesMatch "beta">
Require group betatesters developers
</FilesMatch>
<FilesMatch "dev">
Require group developers
</FilesMatch>
Any idea?