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

Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?



On Sunday 06 July 2008, Russ Allbery wrote:
> Stefan Fritsch <sf@sfritsch.de> writes:
> > On Saturday 05 July 2008, Charles Plessy wrote:
> >>  - if yes add a link to a configuration file in
> >> /etc/apache2/conf.d
> >
> > You can add that file or the link unconditionally.
>
> That would really upset me if I were a systems administrator.  Most
> of my Apache configurations have multiple virtual hosts, and having
> some package randomly add itself to the namespace of every virtual
> host I run, possibly taking over pages that were currently serving
> some other purpose, would be extremely annoying.

I don't think it is ideal, but it seems to be quite common. At least 
17 packages do it this way. Therefore an administrator cannot assume 
that packages won't add apache config files anyway.

More experienced administrators will have no problems changing the 
include directive to something 
like "include /etc/apache2/conf.d-enabled" and create symlinks to the 
files in conf.d that they want enabled globally. And people with many 
virtual hosts are more likely to be experienced administrators than 
those with only one.

Of course it would be a good idea to discuss this and create a 
standard policy, but this will not happen for lenny, obviously.

Cheers,
Stefan


Reply to: