Pierre-Yves BONNETAIN ([EMAIL PROTECTED]) said something to this effect:
*snip*
> <Perl>
> my $realname = 'http://www.main.org';
> my %vnames = ( 'sec.ondary.com' => 'second', 'third.dom.com' => 'third' );
     ^^^^^^^
> foreach (keys %vnames) {
                ^^^^^^^
>     $VirtualHost{'192.168.1.2:80'} = {
>         ServerName => $_,
>         RedirectPermanent => ( ['/', "$realname/$vname{$_}/index.phtml"] )
                                                  ^^^^^^
>     }
> }
> </Perl>

Maybe this is just in your example, but you might have cut-and-pasted from
yor config, so I'll mention it: In your RedirectPermanent, you are referencing
%vname, not %vnames. Without strict turned on in your <Perl> section, Perl 
won't tell you.

Maybe that's not it, but it's what jumped out at me.

darren

-- 
Never make anything simple and efficient when a way can be found to make it
complex and wonderful.

Reply via email to