Zam*_*ues 1 apache https tomcat6 liferay-6
我们已经开发出一种Application Portal
利用Liferay
捆绑tomcat
。使用Apache httpd
前端访问应用程序门户。
当我们从 迁移HTTP
到HTTPS
. 对于HTTPS
,最初我们为 生成了自签名证书Apache httpd
。但是我们可以看到只有主页加载了HTTPS
,其余的页面/链接都在使用HTTP
。在调查中,我们注意到Site Pages settings
在control panel
for 下Liferay
,'Friendly URL has
http hard-coded in the URL . We need to
Liferay to use
HTTPS instead of
HTTP`
怎么配置一样。
那是因为 Liferay 生成的所有链接默认使用 http 协议。要改变这一点,在你的 portal-ext.properties 中设置以下属性就足够了:
#
# Set the preferred protocol.
#
web.server.protocol=https
Run Code Online (Sandbox Code Playgroud)
文章:https : //www.permeance.com.au/web/tim.telcik/home/-/blogs/how-do-i-configure-apache-httpd-and-liferay-portal-to-use-ssl
归档时间: |
|
查看次数: |
3948 次 |
最近记录: |