On Friday, October 08, 1999 4:26 PM, Terje Malmedal [SMTP:[EMAIL PROTECTED]] wrote:
>
> Hi,
>
> Inside a section I want to configure mod_rewrite dynamically,
> this works:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
>
> If I do this:
>
> $RewriteRule = "/cgi-bin/print
> Inside a section I want to configure mod_rewrite dynamically,
> this works:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
>
> If I do this:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
> $RewriteRule = "/cgi-bin/test /cgi-bin/slave.pl [PT]";
>
On Fri, Oct 08, 1999 at 11:54:58AM -0700, Cliff Rayman wrote:
> I've never used perl sections, but unless $RewriteRule is some magic variable,
> the second assignment simply overwrites the first one.
Sorry for my previous post, I see the problem now after re-reading things.
At first glance I
At 04:25 PM 10/8/99 +0200, Terje Malmedal wrote:
>
>Hi,
>
>Inside a section I want to configure mod_rewrite dynamically,
>this works:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
>
>If I do this:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
> $RewriteRule
I've never used perl sections, but unless $RewriteRule is some magic variable,
the second assignment simply overwrites the first one.
I thought it had to be something along the lines of:
push(@RewriteRule , "/cgi-bin/printenv" , "/cgi-bin/slave.pl [PT]");
or
$RewriteRule{"/cgi-bin/printenv"}="
On Fri, Oct 08, 1999 at 04:25:39PM +0200, Terje Malmedal wrote:
> Inside a section I want to configure mod_rewrite dynamically,
> this works:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
>
> If I do this:
>
> $RewriteRule = "/cgi-bin/printenv /cgi-bin/slave.pl [PT]";
>