RE: httpd.conf problem.

1999-10-09 Thread Eric Cholet
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

Re: httpd.conf problem.

1999-10-09 Thread Stas Bekman
> 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]"; >

Re: httpd.conf problem.

1999-10-08 Thread Michael Hall
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

Re: httpd.conf problem.

1999-10-08 Thread Mark Cogan
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

Re: httpd.conf problem.

1999-10-08 Thread Cliff Rayman
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"}="

Re: httpd.conf problem.

1999-10-08 Thread Michael Hall
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]"; >