Is there any way possible I can use perl_set within a Location
directive?
perl_set $test_transformation 'sub {
my $r = shift;
$result = list_rewrite::handler($r, "/test.asp");
return $result;
};';
I have this within the HTTP directive.
Will it be run each time a request comes in or only when
$test_transformation is referenced?
Tanks,
Evan
Posted at Nginx Forum: