Weblogic 11g URL Rewrite

孤街浪徒 提交于 2019-12-01 19:39:44
  • If you are using Apache HTTPD with the Apache HTTP Server Plug-In in front of WebLogic, then it should be possible to use mod_rewrite before to send request to WebLogic.

  • If not, then you could use Tuckey's Url Rewrite Filter (a Java Filter) that allows to rewrite URLs in a mod_rewrite like manner at the application server level.

There is no way to do this out of the box with weblogic. The least invasive is to implement Pascal's suggestion of a url rewrite filter. I had the exact same requirement (implement this with just weblogic, no additional code as it would have to be managed/documented, etc) and there was no way to do this.

I would use either PrettyFaces or OCPsoft Rewrite for this. Both are more updated solutions to the URL-rewriting domain:

http://ocpsoft.com/prettyfaces/

http://ocpsoft.com/rewrite/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!