title: Are there any resources on the correct ordering of Apache .htaccess directives?
body: <p>I was tweaking my <code>.htaccess</code> file for the first time, and ran into the problem where my custom 404 page would not load because I placed the <code>Options -Indexes</code> directive after the <code>ErrorDocument 404</code> directive. Seeing as ordering directives willy-nilly can easily break the intended behavior, is there any online resource that details what the correct, or at least standard ordering of directives should be?</p>
  
  <p>I couldn't find anything after a google search and a quick scan of the Apache docs.</p>