如何使用jetty的RewriteHandler?
我使用 Jetty 作为我的网络服务器,并且我想做 url 重写的事情。 你知道如何使用RewriteHandler
吗?
例如: url localhost/path1/123.html
应该由 Jetty 重写为 localhost/path1:id=123
I am using Jetty as my web server, and I want to do the url rewrite stuff.
Do you know how to use RewriteHandler
?
For example:
the url localhost/path1/123.html
should be rewritten by Jetty to localhost/path1:id=123
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文档在这里 - http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler
如果您已按照文档进行操作,但没有得到您想要的结果,请提供您尝试过的操作以及获得的结果的描述。
The documentation is here - http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler
If you've followed the documentation and aren't getting the result you want, then please provide a description of what you tried, and what result you got.