You will need to provide URL mapping for incoming request as well which will resolve to full url. But for your mapping it will be hard to resolve. Instead you can try this^/content/client/abc/(.+).html</abc/$1.html^/content/client/xyz/(.+).html</xyz/$1.html^/content/client/pqr/(.+).html</pqr/$1.html...