How to use the RewriteHandler berth?

I use Jetty as my web server, and I want to make correspondence with url. Do you know how to use RewriteHandler ?

For example: url localhost/path1/123.html should be rewritten by Jetty to localhost/path1:id=123

+4
source share
1 answer

Documentation here - http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler

If you followed the documentation and did not get the desired result, please provide a description of what you tried and what result you got.

+1
source

Source: https://habr.com/ru/post/1396148/


All Articles