I had been fine-tuning my .htaccess file the very first time, and went in to the problem where my custom 404 page wouldn't load because I placed the Options -Indexes directive following the ErrorDocument 404 directive. Since ordering directives willy-nilly can certainly break the intended behavior, can there be any website that particulars exactly what the correct, or at best standard ordering of directives ought to be?

I could not find anything following a search along with a quick scan from the Apache paperwork.

My bad - the particular problem was which i was utilizing a comment on a single line like a directive.