At 21:13 27.05.2002, Ian D. Stewart wrote:
>Is it possible to reference the value of one Directive within another 
>Directive (e.g., PerlSetVar VariableName ${DocumentRoot}/subdir) ?

If you use <Perl> sections, yes.

<Perl>
$DocumentRoot = '/home/httpd/htdocs';
push @PerlSetVar, [ VariableName => "$DocumentRoot/subdir"];
</Perl>

Note that you need to set $DocumentRoot in a <Perl> section as well.

You might want to look at mod_macro too.


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]


Reply via email to