Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Spells that edit httpd.conf

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "M.L." <mlubrano AT sourcemage.org>
  • To: Eric Womack <eric AT sourcemage.com>, sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Spells that edit httpd.conf
  • Date: Mon, 13 Jan 2003 23:06:27 +0100

On Lundi 13 Janvier 2003 03:50, Eric Womack wrote:
> I quite agree. That is much more elegant then trying to parse out and edit
> someone elses config. Plus, it gives you a clean and easy way to find what
> was added and remove/change just that if needed.
>
> Quoting Dufflebunk <dufflebunk AT dufflebunk.homeip.net>:
> > That would be much better than editing the main httpd.conf
> >
> > > Can we do it like this?:
> > > In httpd.conf:
> > > Include addons.conf
> > > where addons.conf is constructed from all the files in
> > > /etc/httpd/addons/
> > >
> > > whenever a spell that puts a file in addons/ is cast or dispelled.

Hi,

This idea is interresting.

Will it be the prefered behavior for apache/apache2 config files (it sounds
good) ?


For other spells:
For instance in the mail section (like Mail-SpamAssassin that needs patching
postfix's files) I use diff/patch to apply on cast and reverse patches on
dispel to config files.
To my mind, this kind of solution should be added as a native sorcery feature
somedays. How about it ?

bye,
Mat.

--
//
// M.L. Grimoire Guru (mail & news)
// SourceMage GNU/Linux http://www.sourcemage.org
// ICQ #23832402 Linux User #36502
//




Archive powered by MHonArc 2.6.24.

Top of Page