[TriLUG] htaccess multilayer question

Roy Vestal rvestal at trilug.org
Tue Aug 17 08:20:51 EDT 2010


Hi all,
  I have a dev server that I have the main webdir setup with .htaccess. 
I have multiple dirs below that to which I would like to have 
*different* creds using .htaccess.

Currently I have:

http://site/.htaccess
http://site/dir1/.htaccess

When accessing http://site/dir1, I can connect using the creds listed in 
http://site/dir1/.htaccess. However, after authenticating, it asks for 
the creds from http://site/.htaccess

So, how do I get it to check ONLY the http://site/dir1/.htaccess creds?  
I've been all over docs.apache.org, tldp, and google. Nothing has worked 
so far.

TIA,
-Roy



More information about the TriLUG mailing list