[TriLUG] htaccess multilayer question
Jeffrey Macko
jmacko at macko.net
Tue Aug 17 09:22:03 EDT 2010
I believe it's by design:
>From http://httpd.apache.org/docs/current/howto/htaccess.html
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
You probably want to look into converting your .htaccess info into <Directory> entries in your server configuration which permits better control.
--Jeffrey
-----Original Message-----
From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On Behalf Of Roy Vestal
Sent: Tuesday, August 17, 2010 8:21 AM
To: Triangle Linux Users Group General Discussion
Subject: [TriLUG] htaccess multilayer question
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
--
This message was sent to: Jeffrey Macko <jmacko at macko.net> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
Unsubscribe or edit options on the web : http://www.trilug.org/mailman/options/trilug/jmacko%40macko.net
TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions
More information about the TriLUG
mailing list