You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Vinko Vrsalovic <el...@vinko.cl> on 2007/01/06 21:50:34 UTC

[PATCH] mod_rewrite QSR RewriteRule flag

Hello,

I'm a newbie apache coder, so I apologize in advance for any mistake or
oversight :-)

I've coded this small patch to avoid the ugly hack of having to write
rules such as

RewriteRule .* /index.cgi? 

to tell mod_rewrite "forget the QS" and thus provide greater consistency
in the flags "API".

It's fairly unintrusive and it's working AFAICT. 

Please tell if you think it's worth it and that it works in your
particular rewrite setup. I marked with XXX: some doubts and TODO items
so please clarify those for me to fix, if interested.

I attach the patch against trunk, the docs patch, and a simple test
case.

Regards,
V.