[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Overwrite somebody's httpd.conf.old



On Wed, 28 Apr 2004, Fabio Tranchitella wrote:

> Il mer, 2004-04-28 alle 13:03, Fabio Massimo Di Nitto ha scritto:
> > Much simplre solution is NOT to touch httpd.conf and put your config lines
> > in conf.d. Treat that file as a configfile either using the dpkg standard
> > or ucf.
>
> Hi Fabio, thanks for the answer.
>
> I agree with you, and in fact I do not touch httpd.conf if not needed.
> My postinstall script checks if /etc/${webserver}/conf.d exists, but if
> it doesn't exist it creates it and adds the related Include line. After
> this it puts my configuration file in conf.d. So my question is the
> same, again :-), have I to check if an old httpd.conf.old exists or not?

Yes, since you cannot be sure that it has been created by the user or by
old and buggy packages.

Fabio

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.



Reply to: