> 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?
push @ScriptAlias, [ "/cgi-$_", "/users/$_/cgi-bin" ];
> Where can I find better info than given in
> http://perl.apache.org/src/mod_perl.html#PERL_SECTIONS ?
http://www.modperl.com/book/chapters/ch8.html#Configuring_Apache_with_Perl
See the paragraph: "Directive is Repeated Multiple Times"
--
Eric