What is the precedence of multiple mod_rewrite rules in multiple .htaccess files? [closed]
I understand that the [L] following a rewrite rule means that it's the "last" but I'm not clear what the scope is For example, when there are multiple .htaccess files, some with [L] , which ones will apply? Example: root.com/subdirectory1/subdirectory2 ^ ^ ^ | | | A B C If there is an .htaccess file in each directory... In what order will they apply? If they contradict each other which takes precedence? Do they apply in serial? Are the results of the first passed to the next? Will matches in an earlier (or the same) file that RESULT from a later rule get applied? If there is an [L] in an