On 11/13/06, <b class="gmail_sendername">David Vrensk</b> <<a href="mailto:david@vrensk.com">david@vrensk.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;">
<span class="q">On 11/13/06, <b class="gmail_sendername">Dark Ambient</b> <<a href="mailto:sambient@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sambient@gmail.com</a>> wrote:</span>
<div><span class="q"><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></span><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</div></div></blockquote><div><br>Right, I found it , each virtual site has it's own conf file.
<br><br>Stuart <br></div><br></div><br><br clear="all"><br>-- <br><a href="http://en.wikipedia.org/wiki/Dark_ambient">http://en.wikipedia.org/wiki/Dark_ambient</a>