I'm trying to redirect everything in the "foo" directory and below, to a file. This works...
redirectMatch 301 ^/foo/ http://www.example.com/filename/
...except it also appends any query strings found in "/foo/" to "/filename/"...which results in "/filename/?=true" not just /filename/.
How do I make sure any query strings get stripped from the redirect?