Conflicting Directives Fighting Over Your Apache Server

Asked By 10 points N/A Posted on -
qa-featured

On apache servers after we change configuration options and reloading the server we still do not see the changes in the server thus if one server in a network gets misconfigured in this way after all have changed their configurations the whole system would fail. What can be the issue and how to solve it?

SHARE
Answered By 0 points N/A #93483

Conflicting Directives Fighting Over Your Apache Server

qa-featured

If you have changed some configuration in your apache and it is still not showing the changes probably the changes made have been overridden by conflicting directives cases of which can be minimized keeping in mind the following points.

a) The included files are read by the system at the point at which they are included before the rest of the original file is read

b) settings are read by the system whenever the server is reloaded. .htaaccess files are read before resource is served to the user.

c) are read before and so settings here override the earlier settings.

d) Configuration files are read serially.

e) When a complete directory is included the files form the directory are accessed serially.

If we remember the above order of precedence we can easily find out where there has been some conflicting issues and change accordingly.

Related Questions