Can you assign per web app jetty-rewrite.xml files in Jetty?
问题 Is there a way per web app / context to specify a rewrite file just for that particular webapp? The only way I see this currently working is via the command line when you start it. I was thinking perhaps a setting in the override.xml file or even in the context xml file. 回答1: If you use context.xml deployables you can integrate the RewriteHandler rules into the app specific context xml. Example: this is a replacement context.xml of the ${jetty.home}/contexts/test.xml found in the jetty