开发者

Is it possible to alias Glassfish requests like in Apache?

I want to redirect requests to /program.fcgi? to the actual location on the filesystem which is /usr/local/.../program.fcgi开发者_StackOverflow社区?. In Apache I can add the following to the configuration file

Alias /program /usr/local/.../program

How do I do the same in Glassfish?


Glassfish lets you include a sun-web.xml in WEB-INF of your web application that allows you to provide alternate docroots

An example entry would look like :

<property name="alternatedocroot_1" value="from=*.jsp dir=path_to_directory"/>

Details here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜