Hello all! First time caller, long time listener...
So I have been pulled in for questioning, regarding a rewrite task that has been passed down to a developer at work.
We're moving from an IIS setup, using Helicon 3 (for rewrite) to Apache
The structure mentioned below is unfortunate, however - we're not able to change it, yet... Also assume that we can't process this by sending the URI to another page. (e.g. Like sending "/foo/bar" to a PHP script to disect). With that said, I agree this isn't a great approach nor a smart one.
How can I take a URL like "/my.file/foo/bar/?baz=qux" and convert it to "/my.file?foo=bar&baz=qux".
Sounds easy? Well, there's a kicker, at least it was for me ... How do you make it support an "endless" list of parameters... going beyond /foo/bar/ to /foo/bar/baz/qux/quux/quuux/ etc...
Any insight would be greatly appreciated!
Shayne