Foros de discusión
My liferay is not working outside my system
Harshal Shah, modificado hace 13 años.
My liferay is not working outside my system
Junior Member Mensajes: 49 Fecha de incorporación: 25/05/10 Mensajes recientes
I am having a very trival problem I have a message board portlet deployed.
When I access the portlet from localmachine I am able to do all kind of stuff.
But when I try to access the portlet from outside ie http://www.xyz.com/web/guest/message-board
and try to perform add message or other operation I get http://www.xyz.com/web/guest/null
what I am doing wrong here ?????
I have in control panel setup virtual host as www.xyz.com
but everything works fine from my local dev machine.
Any idea what I am doing wrong.
My set up is ISP ->Apache on port 80
-> via Aj Proxy 8009 -> tomcat on dev machine.
Below is the link
http://www.kanoka.info/web/guest/message-board
When I access the portlet from localmachine I am able to do all kind of stuff.
But when I try to access the portlet from outside ie http://www.xyz.com/web/guest/message-board
and try to perform add message or other operation I get http://www.xyz.com/web/guest/null
what I am doing wrong here ?????
I have in control panel setup virtual host as www.xyz.com
but everything works fine from my local dev machine.
Any idea what I am doing wrong.
My set up is ISP ->Apache on port 80
-> via Aj Proxy 8009 -> tomcat on dev machine.
Below is the link
http://www.kanoka.info/web/guest/message-board
Amos Fong, modificado hace 13 años.
RE: My liferay is not working outside my system
Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
I think you have to add your public IP to this property
#
# 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=ip
#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
#
# 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=ip
#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
Harshal Shah, modificado hace 13 años.
RE: My liferay is not working outside my system
Junior Member Mensajes: 49 Fecha de incorporación: 25/05/10 Mensajes recientes
It worked..Sir ji you are awesome...liferay rocks..