且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在JSF前面的Apache

更新时间:2023-02-26 10:23:26

JSF ResourceHandler 发出带有<contextPath>/javax.faces.resource/路由的URL,尽管是通过ScriptRenderer,StyleSheetRenderer等间接生成的.

The JSF ResourceHandler emits URLs with the <contextPath>/javax.faces.resource/ route, albeit indirectly through the ScriptRenderer, StyleSheetRenderer etc.

由于您在ProxyPass指令中省略了应用名称(上下文路径),因此在将URL提供给浏览器之前,您需要使用URL重写器来省略这些URL.请参阅相关问题中的答案以实现此目的.

Since you're omitting the app name (context Path) in the ProxyPass directive, you'll need to use a URL rewriter to omit the URLs before they're served to the browser. Refer the answers in the related question on how to achieve this.