Hello all,
I have a RewriteRule where a RewriteMap inserts a new query string into the substitution string. Even though this RewriteMap inserts a question mark into the substitution string, the original query string is still appended to the new request. I can stop this by adding an additional question mark to the end of the substitution, but then I end up with a request that contains two question marks.
Is there any other way to stop the original query string from being appended? Or is there any way to make the RewriteRule recognise that I am inserting a question mark with the RewriteMap? Maybe by chaining multiple rules?
Any thoughts are welcome.
Regards,
Bart