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

Re: packaging apache modules



On Thu, Jan 20, 2000 at 07:33:35PM +0100, Stefan Gybas wrote:
> Federico Di Gregorio wrote:
> 
> > how do i get the LoadModule line in httpd.conf?
> 
> If you want to do this in a non-interactive way, you have to directly
> modify /etc/apache/httpd.conf in your postinst. This is not allowed
> according to the latest policy as /etc/apache/httpd.conf is a conffile
> but the other way (using /usr/sbin/apacheconfig) is not legal too, as
> this also changes the same conffile.

You can, though, ask the user if they would like to run apacheconfig
to install the module.  Use debconf if you are able to, though.
Policy permits this, probably even without asking the user.  See
section 4.7.4.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/


Reply to: