Weblogic 11g URL 重写 [英] Weblogic 11g URL Rewrite

查看:24
本文介绍了Weblogic 11g URL 重写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在 Windows Server 机器上运行 WebLogic 11g 安装的客户端,他希望实现类似 Apache 风格的 mod_rewrite 功能来转换对 http://easyurl.comhttp://super.complicated.com/with/this/junk?here=and_more.我在互联网上搜索过建议,但我只能找到其他提出相同问题但没有得到任何答案的人.假设安装 3rd 方应用程序不是一种选择,我如何在 WebLogic 中实现这一点?

I have a client running a WebLogic 11g install on a Windows Server machine who wishes to implement Apache-style mod_rewrite-like functionality to translate requests for http://easyurl.com to http://super.complicated.com/with/this/junk?here=and_more. I have scoured the Internet for advice, but all I can find are other people who are asking the same question and not getting any answer. Assuming that installing 3rd-party apps is not an option, how do I implement this in WebLogic?

现在想想,这个问题可能属于服务器故障.我会把它移到那里.

Now that I think about it, this question probably belongs on Server Fault. I'll move it there.

进一步https://serverfault.com/questions/177795/url-rewrite-in-weblogic-11g 是服务器故障链接.

Further edit: https://serverfault.com/questions/177795/url-rewrite-in-weblogic-11g is the Server Fault link.

推荐答案

  • 如果您将 Apache HTTPD 与 Apache HTTP Server Plug-In在WebLogic之前,那么应该可以使用mod_rewrite之前向WebLogic发送请求.

    • 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.

      如果没有,那么您可以使用 Tuckey 的 Url Rewrite Filter(一个 Java 过滤器) 允许在应用程序服务器级别以类似 mod_rewrite 的方式重写 URL.

      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.

      这篇关于Weblogic 11g URL 重写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆