Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Re: [SLE] which file is the config file of http server?
- From: Leendert Meyer <leen.meyer@xxxxxxx>
- Date: Wed, 1 Nov 2006 10:23:37 +0000 (UTC)
- Message-id: <200611011124.19308.leen.meyer@xxxxxxx>
On Wednesday 01 November 2006 09:59, Joachim Schrod wrote:
> Leendert Meyer wrote:
> > 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.>
> Joachim
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Joachim Schrod Email: jschrod@xxxxxxx
> Roedermark, Germany
> >> > 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.
>
> Which http.conf did you open?
Typo, I meant: /etc/apache2/httpd.conf
> > 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. ;)
>
> Why? Sorry, but I cannot see how your grep answers that question.
> It shows that the sysconfig.d files are included in
> /etc/apache2/httpd.conf -- but that was already mentioned by the
> OP, see above. So he knew that already.
>
> He (or she?) detected hat there is a *second* httpd.conf in his
> system, in the *neighbouring* directory httpd, and asked which
> httpd.conf was now really used.
Indeed. I'm baffled. 1st mail of the morning? Anyway, sorry.
Leen
> Leendert Meyer wrote:
> > 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.>
> Joachim
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Joachim Schrod Email: jschrod@xxxxxxx
> Roedermark, Germany
> >> > 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.
>
> Which http.conf did you open?
Typo, I meant: /etc/apache2/httpd.conf
> > 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. ;)
>
> Why? Sorry, but I cannot see how your grep answers that question.
> It shows that the sysconfig.d files are included in
> /etc/apache2/httpd.conf -- but that was already mentioned by the
> OP, see above. So he knew that already.
>
> He (or she?) detected hat there is a *second* httpd.conf in his
> system, in the *neighbouring* directory httpd, and asked which
> httpd.conf was now really used.
Indeed. I'm baffled. 1st mail of the morning? Anyway, sorry.
Leen
| < Previous | Next > |