On 11/13/06, <b class="gmail_sendername">Dark Ambient</b> <<a href="mailto:sambient@gmail.com">sambient@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
One of my problems is I can't find the httpd.conf file for apache. Sounds strange. </blockquote><div><br>I assume then that the init.d or rc.d script that starts apache on boot does not specifiy a config file, but that apache uses the path that is compiled in. The only way I know to find that is to use strings(1). When I run
<br><br> strings /usr/sbin/httpd | grep '^/'<br><br>I get<br>--------<br>...<br>/home/buildcentos/rpmbuild/BUILD/httpd-2.0.52/server/config.c<br>/dev/null<br>/etc/httpd<br>/home/buildcentos/rpmbuild/BUILD/httpd-2.0.52/server/vhost.c
<br>...<br>--------<br><br>The line "/etc/httpd" is the only line that even looks like a candidate, and it's correct for me.<br><br>HTH,<br><br>/David<br></div></div>