I would like to make a list of ScriptAliases like this
ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/"
ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/"
and did this:
<Perl>
my $cgi_users = qw(xx yy);
for ($cgi_users) {
push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin";
}
</Perl>
but it did not work.
What is wrong with this Perl section?
Where can I find better info than given in
http://perl.apache.org/src/mod_perl.html#PERL_SECTIONS ?
I have PERL_SECTIONS=1 in my mod_perl build, and the configuration is read
without any errors.
--- benedict
--
Benedict Lofstedt <[EMAIL PROTECTED]>
University of Aarhus, Department of Computer Science Fax: + 45 8942 3255
Building 540, Ny Munkegade, DK-8000 Aarhus C, Denmark. Phone: + 45 8942 3222