Jake Garfield wrote:
[...]
Is there any particular reason why you use a .htaccess file in the root directory, rather than specifying this directly in a <Location> or <Directory> section in the server configuration ?I have this in the document root .htaccess: Order Deny,Allow Deny from All AuthType Basic AuthName "Access" AuthUserFile /blah/blah Require user blah Satisfy any and this in the directory of that file <Files blah.php> Allow from allSatisfy any </Files>
Doing it in a .htaccess is not only less efficient, but it introduces additional complication, in the sense that the server only "gets there" after resolving the location to the real place on disk, evaluating any other access conditions to that location and directory etc..
then when everything is done, it goes to that directory, and findsa .htaccess file there. "Oh shoot, now I must re-evaluate everything". See what I mean ?
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx