One reason the pattern doesn't match because the pattern looks for rest/
at the beginning and the uri starts with v1
.
Something else to check is that the RewriteRule configuration text is different than the rule shown in the logs. The source rule contains \.json
at the end, and the logfile rule shows \\.json
.
So maybe remove the "rest/" in your rewrite rule pattern and try again. If it still doesn't work, make sure you don't have a double backslash in front of .json
.