pkgsrc-Users archive

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

Re: packages modifying httpd.conf?



On Wed, 24 May 2006 09:47:37 -0500, David Stipp <dstipp%coolhack.net@localhost>
wrote:

> On Mon, May 08, 2006 at 05:45:37PM -0700, Jeremy C. Reed wrote:
> >I do not think any packages should modify your httpd.conf.
> 
> Catching up on mailing lists...
> 
> Why not structure the default httpd.conf to include files out of
> configuration directories, like debian, freebsd, and others do?
> 
> That way, any package could drop their config snippit into a
> configuration directory.
> 
Can the inclusion be conditional on the file actually existing?  We'd also
need a pretty good list of "interesting" package configuration files to
include by default.

Or -- perhaps rc.d/apache could build an httpd.conf file from a base and
the contents of, say, /usr/pkg/etc/httpd/pkg_conf/*, every time you did a
'start' or a 'reload'.  Hmm....

                --Steven M. Bellovin, http://www.cs.columbia.edu/~smb



Home | Main Index | Thread Index | Old Index