Skip to Content.
Sympa Menu

sm-grimoire - [SM-Grimoire] Re: Apache2 configuration

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
  • To: Gareth Clay <g.clay AT fireflyuk.net>, Source Mage - Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Cc:
  • Subject: [SM-Grimoire] Re: Apache2 configuration
  • Date: Sun, 20 Jul 2003 21:54:16 -0400

First, I hope you're using the devel grimoire and your message implies that apache2 spell (along with apr and apr-util spells) works for you ;-). Please let me know.
I'm also registering this as one more complaint regarding current state of apache2 configuration. Gareth, I'd appreciate if you file a bug with your message attached, and assign it to myself (sergey AT sourcemage.org) if the system allows you (otherwise, just make it against http section). I'll be fixing the thing. There are two ways of doing this that I think of: 1) make apache2 compile all modules, and then the administrator would pick those needed in httpd.conf (see httpd-dev spell for example, it uses a list of modules in a separate file); 2) making 'y' the default answer for all modules that are needed for default httpd.conf. The third way might be to compile all modules that are in httpd.conf without asking, and only ask about more rarely used modules. I like #1 because there's almost nothing for me to do ;-), I'll just copy over stuff from httpd-dev.
Ideas welcome!

Sergey.

Gareth Clay wrote:

Hi there,

I've recently started playing with Apache2. I don't know much about webserver configuration (yet), so I wanted to email you about this to ask your thoughts, rather than post a bug and risk possible humiliation ;)

The problem I've run into is that the default apache2 configuration (as specified in the spell's CONFIGURE script) doesn't compile enough modules into apache for apache to be able to parse the default httpd.conf file.

For me this is a pain because the default file is (almost) fine for my needs, but in order for me to use it I have to recast the apache2 spell over and over again. Each time I have to find the point of failure in the httpd.conf file, where apache realises that it doesn't have the module it needs. Then I have to figure out what module is needed, and what I have to select in the spell configuration in order to compile that module (which is hard because the spell configuration doesn't say which module maps to which "yes or no" question).

My question is this: can the CONFIGURE script for the apache2 spell be edited so that the default is to compile an apache that does not fail when reading the default httpd.conf file? In this way, novice SMGL/apache2 users like me would have apache up and running in the minimum possible time. More experienced users would still be able to further customise the server of course. Also, it might be helpful to list the corresponding module name along with each configuration option.

Many thanks for your time - I'd be interested to hear whether or not you think this is a good idea :)

Gareth








Archive powered by MHonArc 2.6.24.

Top of Page