perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RobertCZ <rob...@robert.cz>
Subject Re: OT: How to use PerlSetVar in <Perl> section?
Date Sat, 25 Feb 2006 19:50:07 GMT
never mind, it's something like

                   "/img"  => {
                           PerlFixupHandler => "Apache::ImageMagick",
                            PerlOptions     => "+GlobalRequest",
                           PerlSetVar      => [
                                   [ AIMScriptDir  =>
"/home/www/_cms/doc/$vhost/img/aim" ],
                                   [ AIMCacheDir   =>
"/tmp/aimcache/$vhost" ],
                                   [ AIMCache      => "Off" ],
                            ],
                    },



RobertCZ wrote:
> sorry for off-topic: how to move the following conf from plain text to
> <Perl> section? specifically, what is PerlSetVar equivalent in <Perl>
> section?
>
>        <Location /img>
>                PerlFixupHandler Apache::ImageMagick
>                PerlOptions     +GlobalRequest
>                PerlSetVar      AIMScriptDir   
> /home/www/cms/doc/xxx/img/aim
>                PerlSetVar      AIMCacheDir     /tmp/aimcache/xxx
>        </Location>
>
>
>        Location    => {
>            "/img"    => {
>                PerlFixupHandler => "Apache::ImageMagick",
>                PerlOptions    => "+GlobalRequest",
> ???                PerlSetVar      AIMScriptDir   
> "/home/www/cms/doc/$vhost/img/aim",
> ???                PerlSetVar      AIMCacheDir    
> "/tmp/aimcache/$vhost",
>            },
>        },
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message