Re: Considering using Perl Sections

Michael Peters <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 10/01/2010 04:47 PM, Chris Bennett wrote:

> At this point, should I break the AuthCookie sections out into confs for
> each virtual host using it, learn to use Perl Sections, or something
> different? Any suggestions are welcome.

We actually like using templated httpd.conf files (we use 
HTML::Template, but you can easily use Template Toolkit, Text Template, 
etc). This lets us have really simple configs and then keep the stuff 
that's different for each client in a separate config file (or even the 
database) which is then pulled in and applied to the templated 
httpd.conf to generate the final conf.

Works quite well for us.

-- 
Michael Peters
Plus Three, LP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.