Forum Moderators: mack
I want to leave my document root directory open so that my friends can work on development, but I want to have an access file in that directory that would restrict all subdirectories by default using an authuserfile. That is unless the subdirectory itself was to use an allow from all directive in its own htaccess file. I guess in short I am wondering if one htaccess file (or an httpd.conf directive) can be applied to all subdirectories of the current or root(in httpd.conf i guess) while allowing access to all in that same directory.
-Thanx
I haven't personally tried the setup you describe, but the documentation for AllowOverride implies that lower-level .htaccess files can override higher-level directives.
Beware of leaving your authorization files in an unprotected directory, though, if you want to avoid tampering.
HTH,
Jim