Quoting Graeme Fowler <[EMAIL PROTECTED]>:
> I've searched, and searched, for a recipe and/or method for this; I can't
> find 
> one that works :(
> 
> Am using a home-rolled Apache 2.0.48 and mod_perl 1.99_10 setup.

I could very well be wrong, but I have a feeling that the <Perl> support in
mod_perl2 is not fully completed yet.

> ...I don't get the vhosts setup; equally I don't get any errors.
> I know the Perl section gets parsed correctly (I've straced it through) and 
> I've put some debug print statements in and have got out the expected data.

Can I make a recomendation that will work equally well, and will not depend on
<Perl> sections...  Flip your strategy around, and have a plain old perl script
generate the proper Apache config files for your VirtualHosts and place those
config files in a directory that Apache automatically parses.  Then you can
tweak apachectl to first re-generate your VirtualHost config files and then
start apache.

This method is much simpler, is just as flexible, and uses less 'magic' in the
conf files.

Cheers,

Cees

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to