Re: how is the httpd.conf file being read?

2008-10-23 Thread adrian golding
thank you all! i managed to find where i think i should make modifications. in srclib/apr/file_io/unix/open.c but just something strange, i found out that httpd.conf is opened twice when i start up apache. i would had thought its just opened once. thanks - adrian On Thu, Oct 23, 2008 at 4:05 PM,

Re: how is the httpd.conf file being read?

2008-10-23 Thread Rainer Jung
Sander Temme schrieb: > > 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 >> fi

Re: how is the httpd.conf file being read?

2008-10-22 Thread Sander Temme
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 configu

Re: how is the httpd.conf file being read?

2008-10-22 Thread adrian golding
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 so

Re: how is the httpd.conf file being read?

2008-10-22 Thread Graham Leggett
adrian golding wrote: hi, i want to modify apache such that when the httpd.conf file is being opened, i would measure the configuration file as part of integrity checking. You're looking for the httpd -t option. A full list of options can be obtained by saying httpd -help. Regards, Graham

how is the httpd.conf file being read?

2008-10-21 Thread adrian golding
hi, i want to modify apache such that when the httpd.conf file is being opened, i would measure the configuration file as part of integrity checking. I tried looking at the source code myself but its huge. how is the httpd.conf read and where is it being read? is the httpd.conf file read once du