On Tue, Mar 09, 1999, Fritz Elfert wrote:

> On Tue, 9 Mar 1999, Ralf S. Engelschall wrote:
> 
> > On Tue, Mar 09, 1999, Steffen Dettmer wrote:
> > 
> > > since we have a large httpd.conf file I want to split it into serveral
> > > files: one for "globals" one for each virtual host etc.
> > > Is it possible?
> > 
> > Sure, use Apache's Include directive or even better: Use a preprocessor like
> > cpp or m4 to generate your large httpd.conf out of smaller pieces.
> >
> Or: give mod_macro a try. I found this recently at modules.apache.org and
> it looks really nice. mod_macro's URL:
> http://www.cri.ensmp.fr/~coelho/mod_macro/

Yeah, mod_macro is cool. And because you're already running EAPI because of
mod_ssl you then should also have a look at mod_define (it's inside my
apache-contrib package under the contrib section of
ftp://ftp.apache.org/apache/). It allows you to expand ${xxx} on _arbitrary_
directive lines. It's a perfect companion module to mod_macro.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to