>>did you try this:
>>
>>  push @PerlSetVar, "MasonCompRoot /var/www/$site";
>>
>>?
>>
>>IIRC most of the configurations could accept a simple string in
>>mp1, so I would expect things to be pretty much the same in
>>mp2.
> 
> 
> but this is for a virtualhost, so it hasta be a sub-item within
> a <virtualhost> hash, such as
> 
>       ...
>       push @{$VirtualHost{'*'}}, {
>               PerlSetVar => [
>                       MasonCompRoot => "/var/www/$dir",
>                       MasonDataDir  => "/var/cache/mason/$dir",
>                       ...
>               ],
>               ServerName => $dir,
>               DocumentRoot => "$main/$dir",
>               ...
>       };
>       ...

it was the full string that you ought to try:

        push @{$VirtualHost{'*'}}, {
                PerlSetVar => "MasonCompRoot /var/www/$dir",


> ah. so this looks like a "no can do" type of thing (despite the
> docs which say it just shifts off the minimum number of args).
> looks like i'll have to 
> 
>       Apache->server->add_config()

if all else fails that's always available, yes.

--Geoff

-- 
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