httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: how is the httpd.conf file being read?
Date Thu, 23 Oct 2008 02:30:26 GMT

On Oct 22, 2008, at 6:24 PM, adrian golding wrote:

> hi, httpd -t opens up the httpd.conf file and runs a check on its  
> syntax.  Other than that, where in the code is the place where the  
> httpd.conf file being opened is parsed and the options written in  
> that file is used to set certain configurations of the server?   
> Other than httpd -t, i want to add some calls *just* before the  
> httpd.conf is being used by the application.


ap_read_config is called in server/main.c:662 and server/main.c:740.   
It is defined in server/config.c:1994.

S.

-- 
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




Mime
View raw message