On Wednesday 01 November 2006 02:57, Joachim Schrod wrote:
pearly zhao wrote:
It seems the config file of http server is /etc/apache2/httpd.conf. for example, I changed the status(disable/enable) of some http server module at yast. the file /etc/apache2/sysconfig.d/loadmodule.conf is modifed, add or delete a line beginning with LoadModule. and /etc/apache2/sysconfig.d/loadmodule.conf is include at /etc/apache2/httpd.conf. But /etc/httpd/httpd.conf isn't be modified.
So what is /etc/httpd/httpd.conf for?
It was the config file of Apache 1. It is not used any more in current SUSE installations.
Joachim: Interesting. When I open /etc/httpd.conf, and put some random characters (like ads;lk/D) on the first line, save it and restart wich "rcapache2 restart", I get a syntax error on line 1. (OSL 10.1, apache2-2.2.0-21.7). So apparently it is critical. pearly zhao: leen@ws-03:/etc/apache2> grep '/sysconfig.d' * httpd.conf:Include /etc/apache2/sysconfig.d/loadmodule.conf httpd.conf:Include /etc/apache2/sysconfig.d/global.conf httpd.conf:Include /etc/apache2/sysconfig.d/include.conf I think this answers your question. ;) Cheers, Leen