You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by RobertCZ <ro...@robert.cz> on 2006/02/25 12:02:27 UTC
OT: How to use PerlSetVar in section?
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",
},
},
i just can't google it up right now...
thanks
- r.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: OT: How to use PerlSetVar in section?
Posted by RobertCZ <ro...@robert.cz>.
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