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: Fri, 10 Jan 2003 18:01:55 -0500

APR (part of httpd 2) now has an option to add the directive like "addmodule" commented out, so that if the admin can enable it as soon as practical. In real life now, both spells would add their stuff to httpd.conf, then one is dispelled and httpd doesn't start next time you restart it. For such situations, I've added things like:
httpd -t && /etc/init.d/apache.sh restart
to some spells, which would at least keep Apache running until the admin can figure things out.

...that's also why I like my httpd.conf to be controlled by CVS ;-)...

Pierre Abbat wrote:

I'm writing a spell that adds a line to httpd.conf. Now suppose that there are two spells, ploni and elmoni, which both add lines to httpd.conf. Neither depends on the other. You cast ploni, then cast elmoni, then dispel ploni. What happens? What should happen?

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