【发布时间】:2011-03-24 00:54:41
【问题描述】:
我正在使用 UrlRewriteFilter 重定向到 SSL。我正在运行 Glassfishv2。
我的规则现在看起来像这样。它在我的war文件夹的WEB-INF中的urlrewrite.xml中。是否需要设置其他 glassfish 设置?
<rule>
<condition name="host" operator="notequal">https://abc.def.com</condition>
<condition name="host" operator="notequal">^$</condition>
<from>^/(.*)</from>
<to type="permanent-redirect" last="true">https://abc.def.com/ghi/$1</to>
</rule>
但 FF 一直说 URL 重定向规则永远不会完成。我不确定这里发生了什么。有什么想法吗?
【问题讨论】:
标签: java glassfish url-rewriting