Config blocks

2003-06-10 Thread Marc M. Adkins
Is adding 'blocks' (e.g. Perl.../Perl) in configuration files encouraged or discouraged? I've been considering one such in a module of mine, and looking at example code in mod_macro and mod_perl that does this type of thing. The code to add a block isn't nearly as clean as code to add a

Re: Config blocks

2003-06-10 Thread William A. Rowe, Jr.
Encouraged, although if we do overhaul the parser from two to three passes you might have a bit of porting work, and your module probably won't remain compatible with most apache 'configurators'. If you are doing your own thing, look at macro or perl modules. If you are implementing a scoped

RE: Config blocks

2003-06-10 Thread Marc M. Adkins
Encouraged, although if we do overhaul the parser from two to three passes you might have a bit of porting work, and your module probably won't remain compatible with most apache 'configurators'. So it goes. If you are doing your own thing, look at macro or perl modules. If you are