Before I make a dumb assumption, would the experts please comment on
the scope of
PerlSetVar within a virtual host statement. Is the scope restricted
to that of the enclosing brackets. I have not been able to find where
in the Eagle book or the guide the scope of these directives are
shown.
i.e.
<virtualhost 123.111.222.210:80>
PerlSetVar ONE 1
# this I can safely assume is global for the virtual host.
<Location /foo>
PerlSetVar protected ISfoo
....blah
</location>
<Location /bar>
PerlSetVar protected ISbar
...blah
</location>
# does $r->dir_config(protected);
# return the expected value depending on which directory has been
# entered by the apache process to serve the file
<FilesMatch ".pl">
PerlSetVar scripts modperlofcourse
</filesmatch>
<FilesMatch ".cgi">
PerlSetVar scripts someothers
</filesmatch>
# likewise, dos $r->dir_config(scripts);
# return the expected values depending on the match process
</virtualhost>