On 11/13/06, Dark Ambient <[EMAIL PROTECTED]> wrote:One of my problems is I can't find the httpd.conf file for apache. Sounds strange.
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
strings /usr/sbin/httpd | grep '^/'
I get
--------
...
/home/buildcentos/rpmbuild/BUILD/httpd-2.0.52/server/config.c
/dev/null
/etc/httpd
/home/buildcentos/rpmbuild/BUILD/httpd-2.0.52 /server/vhost.c
...
--------
The line "/etc/httpd" is the only line that even looks like a candidate, and it's correct for me.
HTH,
/David
Right, I found it , each virtual site has it's own conf file.
Stuart
--
http://en.wikipedia.org/wiki/Dark_ambient
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
