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

Re: How to enable an apache.conf file



On Tue, Nov 22, 2011 at 08:07:39PM +0100, Arno Töll wrote:
> On 22.11.2011 18:54, Mathieu Malaterre wrote:
> >   I am installing a default apache.conf file but I am missing a neat
> > step where this conf file would be enabled automatically. What tools
> > can I use to do that ?
> 
> By policy you must use wrapper tools provided by the Apache server. That
> means, you are supposed to call a2enmod in your postinst maintainer script.
> 
> Do not forget to disable your module on purge with a2dismod.

http://webapps-common.alioth.debian.org/draft/html/ch-httpd.html also mentions
you should create in the conf.d of the http server, using a symlink.
 

-- 
Simon Paillard


Reply to: