Browser Liferay门户网站,带有;此网页有一个重定向循环";

Browser Liferay门户网站,带有;此网页有一个重定向循环";,browser,liferay,friendly-url,redirect-loop,Browser,Liferay,Friendly Url,Redirect Loop,我已经用Liferay 6.1配置了门户。但是,从Web浏览器查看时出现问题。我第一次访问该网站时,一切正常,但当我再次尝试访问时,会出现下一条消息: “此网页具有重定向循环” 为了重现这个问题,每次我都必须清除浏览器的缓存。这会影响我的访问者返回我的网站 第一次:fut5.co->fut5.co/home 第二次:fut5.co->重定向循环 我将友好url配置为:/portal 公众网页:fut5.co 私人网页:fut5 如何修复此行为?您对此有何看法?您能在portal-ext.prop

我已经用Liferay 6.1配置了门户。但是,从Web浏览器查看时出现问题。我第一次访问该网站时,一切正常,但当我再次尝试访问时,会出现下一条消息:

“此网页具有重定向循环”

为了重现这个问题,每次我都必须清除浏览器的缓存。这会影响我的访问者返回我的网站

第一次:fut5.co->fut5.co/home 第二次:fut5.co->重定向循环

我将友好url配置为:/portal 公众网页:fut5.co 私人网页:fut5


如何修复此行为?您对此有何看法?

您能在portal-ext.properties中检查此属性吗?现在,当您点击DirectURL时,它默认为/web/guest,因此它是重定向的


我周期性地遇到这个问题,Liferay会被破坏。我发现唯一的解决方案是完全重新安装Liferay实例。我希望在我的应用程序进入生产环境后不会发生这种情况。

我看到过当您将站点的友好URL从“来宾”更改为其他内容时会发生这种情况。如果重命名为“某物”,解决此问题的方法是转到
http://localhost:8080/web/something
而不是
http://localhost:8080/
-这样就不会发生重定向循环。可能已经为此提交了一个问题(编辑:,在6.1 GA2中修复)。最快的解决方法是不重命名默认站点。

尝试将“控制面板>门户设置>导航”上的“主页URL”属性设置为“/”。

您指的是哪种浏览器?我发现这在Chrome-19、FF-12和IE-9中都会发生。是的,这在Chrome 19、Firefox 10、Opera 11.64、,Explorer 9 y Safare 5.1.7I将其放回guest,重定向循环消失。
#
# Specify the site name that will default to the company's virtual host.
# If the specified site has a virtual host, then that will take precedence.
# If it does not, then it will use the company's virtual host. This property
# is useful to remove "/web/guest" (or any other site) from the default URL.
# For example, if this property is not set, then the default URL may be
# http://localhost:8080/web/guest/home. If this property is set, then the
# default URL may be http://localhost:8080/home.
#
virtual.hosts.default.site.name=Guest