httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] So AllowOverride None in Directory should still allow Location to override?
Date Mon, 27 Oct 2003 21:27:03 GMT

On Mon, 27 Oct 2003, Whit Blauvelt wrote:

> Since it seems Location can override even when AllowOverride None is set in
> Directory ... isn't this kind of fishy design?

You missunderstand the AllowOverride directive.  It affects only .htaccess
files.  It has no effect on anything in httpd.conf.  See:

> Can a Location statement, for
> instance, go in an .htaccess file and give access where the Directory
> directives would be thought to lock it out?

<Location> is not allowed in .htaccess.  See the "Context" here:
But, if AllowOverride is set to Limit or All, then .htaccess files
certainly can override a restrictive <Directory> section.  That is why
AllowOverride should be set to none unless you want to allow this.

I agree that the merging rules are a little convoluted.  But on the other
hand, I can't think of anything that would be much simpler.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message