I'm using a <Perl> section to configure name virtual hosts. I would like to have 
multiple aliases defined in each virtual host, however I was only able to define a 
single alias in the virtual host.

This works ...

$VirtualHost{"_default_"} = [
                             {
                              ServerName   => "w3.goldov.com",
                              DocumentRoot => "$webdir/goldov/static/html",
                              Alias        =>  [ "/images" => 
"$webdir/goldov/static/images" ],
                             },
                             {
                              ServerName   => "w3.freylakh.com",
                              DocumentRoot => "$webdir/freylakh/static/html",
                             },

This does not work ...

$VirtualHost{"_default_"} = [
                             {
                              ServerName   => "w3.goldov.com",
                              DocumentRoot => "$webdir/goldov/static/html",
                              Alias        =>  [ ["/images" => 
"$webdir/goldov/static/images"} ],
                                                 [ "/audio"  => 
"$webdir/goldov/static/audio", ],
                                               ], ### NO
                             }, ...


Kim

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to