> 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:
>
>
> my $cgi_users = qw(xx yy);
> for ($cgi_users) {
> push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin";
> }
>
>
> but it
Eric,
> 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
> -Message d'origine-
> De: Benedict Lofstedt [SMTP:[EMAIL PROTECTED]]
> Date: jeudi 4 mai 2000 15:38
> À:Eric Cholet
> Cc: [EMAIL PROTECTED]
> Objet: RE: how do I use perl sections
>
> Eric,
>
> > push @ScriptAlias, [ "/cgi-$_&
Eric Cholet writes:
>
> but you're not following my example quoted above.
> @ScriptAlias is a list of aliases. Each alias is a _reference_ to
> a two-element array.
>
I got the following to work after stopping/restarting the server:
my @cgi_users = qw(xx yy);
foreach (@cgi_users) {
pus