RE: how do I use perl sections

2000-05-03 Thread Eric Cholet
> 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

RE: how do I use perl sections

2000-05-04 Thread Benedict Lofstedt
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

RE: how do I use perl sections

2000-05-04 Thread Eric Cholet
> -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-$_&

RE: how do I use perl sections

2000-05-05 Thread Benedict Lofstedt
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