httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <bh...@pobox.com>
Subject Re: Apache loads config twice - why?
Date Fri, 22 Oct 1999 01:51:49 GMT
Brian Behlendorf <brian@apache.org> writes:

> On Thu, 21 Oct 1999, Graham Leggett wrote:
> > tvaughan@aventail.com wrote:
...
> > It still doesn't explain why Apache would want to load everything twice.
> > Is it supposed to?
> 
> This should be added to the FAQ.  =)
> 
> Actually, I don't remember the exact reason, I think it's because Apache
> needs to find out where its other included config files are first before
> parsing them all, or something.... 
> 
> Then it was decided this was a good thing anyways, since if the server
> doesn't survive an instant reload, it won't survive being restarted
> anyways (for purposes of log rotation or whatever).
> 
> 	Brian

One reason: it doesn't know where to write the log files (which can
include comments on the configuration) until it has read the
configuration.    - ben


Mime
View raw message