httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Execution order of directives within Apache 2.4
Date Fri, 20 Feb 2015 12:53:16 GMT
On Fri, Feb 20, 2015 at 7:33 AM,  <Andre.Wendel@bmw.de> wrote:
> Are there general rules, like the overall order inside the httpd.conf, or
> the execution is based on the order the single corresponding modules are
> loaded?


Directives are not directly excuted, they supply configuration to many
different modules.

Those modules all run in different stages of Apache processing.  They
can ask early, late, or before or after other modules they know about.
Sometimes, the order is undefined and can change over time.

So there is really no general rule other than how configurations
should be merged other than the precedence of the various
configuration sections:

http://httpd.apache.org/docs/2.4/sections.html

For example, DirectoryIndex specified multiple times might implicitly
add to the list, but using Require implicitly starts over fresh.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message