On Thu, 14 Oct 2004 08:10:32 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > On Wed, Oct 13, 2004 at 05:23:12PM -0000, [EMAIL PROTECTED] wrote: > > --- mod_rewrite.c 13 Oct 2004 17:12:09 -0000 1.135.2.32 > > +++ mod_rewrite.c 13 Oct 2004 17:23:12 -0000 1.135.2.33 > > @@ -1477,9 +1477,17 @@ > > * remember the current filename before rewriting for later check > > * to prevent deadlooping because of internal redirects > > * on final URL/filename which can be equal to the inital one. > > + * also, we'll restore original r->filename if we decline this > > + * request > > */ > > ofilename = r->filename; > > > > + if (r->filename == NULL) { > > + r->filename = apr_pstrdup(r->pool, r->uri); > > + rewritelog((r, 2, "init rewrite engine with requested uri %s", > > + r->filename)); > > + } > > + > > Nobody tried even compiling this one I guess :(
I did, but I didn't get around to committing to 2.0 branch yet ;) > > mod_rewrite.c: In function `hook_fixup': > mod_rewrite.c:1488: too few arguments to function `rewritelog' > > can I get some votes for: +1