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: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
  • To: Pierre Abbat <phma AT webjockey.net>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Spells that edit httpd.conf
  • Date: Mon, 13 Jan 2003 17:15:03 -0500

At least two custom modules, php and mod_python, modify httpd.conf themselves, and more will follow because Apache 2 has this as part of module makefiles, so this woun't work in general case.

Pierre Abbat wrote:

On Friday 10 January 2003 17:30, Dufflebunk wrote:

Nooo! Messing with another programs conf is a Bad Thing. Not only might
cast --fix detect it as a bad file, it's inviting breakage of the other
program. If it is done, the only way it should be done is to have a section
a la: ; DO NOT EDIT BETWEEN THESE LINES
; ADDED BY SPELL PLONI
some stuff = for config
; DONE AUTOMATICALY GENERATED SECTION

Then the sections can be detected automaticaly... but still not a good idea
IMHO.


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.

phma
_______________________________________________
SM-Grimoire mailing list
SM-Grimoire AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-grimoire







Archive powered by MHonArc 2.6.24.

Top of Page