我正在使用UrlRewriteFilter重定向到SSL.我正在运行Glassfishv2.
我的规则现在看起来像这样.它位于我的war文件夹的WEB-INF中的urlrewrite.xml中.还有其他需要设置的玻璃鱼设置吗?
<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>
Run Code Online (Sandbox Code Playgroud)
但FF一直说URL重定向规则是永远不会完成的.我不确定这里发生了什么.有任何想法吗?