Re: mod_rewrite patch

2009-12-28 Thread Vincent Bray
2009/12/27 Rich Bowen rbo...@rcbowen.com: A FAQ on the various httpd support channels is how do I make the query string go away. The answer is that you put ? on the end of the target URL, which is a bit of a kludge. Attached is a patch that adds a QSD (qsdiscard) flag that does this a little

Re: mod_rewrite patch

2009-12-28 Thread André Malo
* Vincent Bray wrote: 2009/12/27 Rich Bowen rbo...@rcbowen.com: A FAQ on the various httpd support channels is how do I make the query string go away. The answer is that you put ? on the end of the target URL, which is a bit of a kludge. Attached is a patch that adds a QSD (qsdiscard)

Re: mod_rewrite patch

2009-12-28 Thread Vincent Bray
2009/12/28 André Malo n...@perlig.de: Yes please! While the null query string hack works, it is an ugly hack to have to foist on people. I've had to suggest it in an apologetic manner too many times. Another point came up while thinking about it: Next time you'll have to explain that

Re: mod_rewrite patch

2009-12-28 Thread Rich Bowen
On Dec 28, 2009, at 05:45 , André Malo wrote: Another point came up while thinking about it: Next time you'll have to explain that RewriteRule foo bar?x=y [QSD] conflicts and QSD wins (as I read the patch(es)). Dunno if that has to be done in an apologetic manner, though ;-) On the

Re: mod_rewrite patch

2009-12-28 Thread Rich Bowen
On Dec 28, 2009, at 05:51 , Vincent Bray wrote: Another point came up while thinking about it: Next time you'll have to explain that RewriteRule foo bar?x=y [QSD] conflicts and QSD wins (as I read the patch(es)). Dunno if that has to be done in an apologetic manner, though ;-)

Re: mod_rewrite patch

2009-12-28 Thread Eric Covener
2009/12/28 Rich Bowen rbo...@rcbowen.com: This slightly revised patch has the effect described above. That is, the original QS is discarded, but any QS on the target is added on - which would have been the effect if you hadn't used QSD at all. Just like half of the uses of QSA in the wild,

mod_rewrite patch

2009-12-27 Thread Rich Bowen
A FAQ on the various httpd support channels is how do I make the query string go away. The answer is that you put ? on the end of the target URL, which is a bit of a kludge. Attached is a patch that adds a QSD (qsdiscard) flag that does this a little more elegantly. As with my previous

Re: mod_rewrite patch

2009-12-27 Thread André Malo
* Rich Bowen wrote: A FAQ on the various httpd support channels is how do I make the query string go away. The answer is that you put ? on the end of the target URL, which is a bit of a kludge. -1 from the peanut gallery. I think, using an empty query string (?) is not such a kludge and

Mod_rewrite patch

2003-02-05 Thread Eider Silva de Oliveira
Title: Mod_rewrite patch Hi, addressing the bug 13946 at bugzilla, http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13946. I'm sending this patch. The bug is caused by a reprocessing the rewrite request when using mod_rewrite + mod_proxy + mod_cache once the page is expired