Hi,
Inside a <Perl> 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]";
the last RewriteRule will hide the first one.
The following attempts to not work at all:
push(@RewriteRule , "/cgi-bin/printenv /cgi-bin/slave.pl [PT]");
push(@RewriteRule , "/cgi-bin/printenv" , "/cgi-bin/slave.pl [PT]");
push(@RewriteRule , "/cgi-bin/printenv" , "/cgi-bin/slave.pl", "[PT]");
$RewriteRule{'/cgi-bin/printenv'} = "/cgi-bin/slave.pl [PT]";
Am I missing something obvious?
I am using Apache/1.3.9 with mod_perl/1.21 in case ut matters.
--
- Terje
[EMAIL PROTECTED]