留言板
portleturl servername
Hi everybody,
How can I change servername of a PortletURL object.
for example I have a PortletURL which its toString() method will return http:\\instancename\web\.... but I want to change the PortletURL as toString Method returns http:\\myDomainName\web\...
Thanks
amir
How can I change servername of a PortletURL object.
for example I have a PortletURL which its toString() method will return http:\\instancename\web\.... but I want to change the PortletURL as toString Method returns http:\\myDomainName\web\...
Thanks
amir
Thiago Leão Moreira,修改在12 年前。
RE: portleturl servername
Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
Check out this properties
##
## Redirect
##
#
# Set this property to "ip" or "domain" for the redirect security method. If
# set to "domain", the portal will only redirect users to domains listed in
# the property "redirect.url.domain.allowed". If set to "ip", the portal
# will only redirect to domains whose IP address resolve to an IP address
# listed in the property "redirect.url.ip.allowed".
#
redirect.url.security.mode=domain
#
# Input a list of comma delimited domains which the portal is allowed to
# redirect to. Input a blank list to allow any domain.
#
redirect.url.domains.allowed=
Hi Thiago,
I use liferay 5.2.2 and there is no such properties. is there any way?
Thanks
I use liferay 5.2.2 and there is no such properties. is there any way?
Thanks
Thiago Leão Moreira,修改在12 年前。
RE: portleturl servername
Liferay Legend 帖子: 1449 加入日期: 07-10-10 最近的帖子
Humm, that is true. Have you tried to use Apache to rewrite the urls?