I don't think that would work, mostly because of querystrings, they
can be in any order so there is no guarantee that a fixed pattern will
grab them.
You might be better off with a mixture of rewrite rules and custom dispatch IMO.

Best,
Sandeep


On Mon, May 6, 2019 at 5:37 AM Odon Copon <odonco...@gmail.com> wrote:
>
> Hi,
> Having something like:
> http://host:port/path1/path2/path3/path4?querystring1&querystring2=value&querystring3=value
>
> How would you apply a pattern matching to the previous URL to be rewritten 
> similar to the following?
> http://host:port/path1?querystring1&querystring3=value
>
> Would something like this work?
> {scheme}://{host}:{port}/{path1}/{path=**}?{queryParam=*}&{**}
>
> Thanks

Reply via email to