joined:Nov 8, 2011
Before I go ahead and try and implement this, what is the correct use of “AllowOverride None”?
I picked up a text book over the holidays which suggests that “AllowOverride None” should be in the main root htaccess file to improve performance and then use a <Directory> directive, again in the main root htaccess to allow other directories.
If nothing filters down from the root (where most of the configurations are) unless overridden with a <Directory> directive this would mean (for me) every Directory would need to be separately enabled?
For example, the server I am testing on has the default set as “AllowOverride All”. If I change this to “None”, I immediately lose configurations such as Options –Indexes for sub-directories which now have a folder index rather than their DirectoryIndex page?
As a general rule is it not the best principal to put as much as possible in the root htaccess? No doubt I misunderstand the use of this but I would be grateful for some feedback.