Re: Reducing memory usage using fewer cgi programs

2008-10-23 Thread Thomas Hilbig
--- On Mon, 10/20/08, Carl Johnstone <[EMAIL PROTECTED]> wrote: > From: Carl Johnstone <[EMAIL PROTECTED]> > Subject: Re: Reducing memory usage using fewer cgi programs > To: "Michael Peters" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Cc: modperl@perl.apache.org > Date: Monday, October 20, 2008, 8:1

Re: reading apache configuration via mod_perl

2008-10-23 Thread Adam Prime
Perrin Harkins wrote: On Thu, Oct 23, 2008 at 3:22 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: On Thu, Oct 23, 2008 at 2:55 PM, Adam Prime <[EMAIL PROTECTED]> wrote: PerlSections->dump kind of does what we want, except that it doesn't expand the macro's that are used. This may

Re: reading apache configuration via mod_perl

2008-10-23 Thread Perrin Harkins
On Thu, Oct 23, 2008 at 3:22 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 2:55 PM, Adam Prime <[EMAIL PROTECTED]> wrote: >> PerlSections->dump kind of does what we want, >> except that it doesn't expand the macro's that are used. > > This may be obvious in hindsight, but

Re: reading apache configuration via mod_perl

2008-10-23 Thread Perrin Harkins
On Thu, Oct 23, 2008 at 2:55 PM, Adam Prime <[EMAIL PROTECTED]> wrote: > PerlSections->dump kind of does what we want, > except that it doesn't expand the macro's that are used. This may be obvious in hindsight, but using mod_macro was probably a bad idea. I'd suggest using perl to handle what yo

Re: reading apache configuration via mod_perl

2008-10-23 Thread Adam Prime
Michael Peters wrote: Adam Prime wrote: Is it theoretically possible to actually generate something like that? > Any ideas? I'm definitely ignorant enought about Apache's internals to be able to answer that question. And the following doesn't really answer your question, but this is how we

Re: reading apache configuration via mod_perl

2008-10-23 Thread Michael Peters
Adam Prime wrote: Is it theoretically possible to actually generate something like that? > Any ideas? I'm definitely ignorant enought about Apache's internals to be able to answer that question. And the following doesn't really answer your question, but this is how we handle having a dynamic

reading apache configuration via mod_perl

2008-10-23 Thread Adam Prime
At $work we have a situation where large chunks of configuration are being created with PerlSections, in combonation with mod_macro. There is a desire to see what exactly that all get mapped to in a more traditional Apache configuration like style. PerlSections->dump kind of does what we wa