- Forward does not Exist error
- Redirect URL $URL is not allowed error
- Unresponsive buttons in Control Panel
- Being redirected to a /null URL in Control Panel
These oddities are due to a security property in the Liferay platform that is set to only allow the localhost IP Address by default. If you plan on accessing the Liferay platform remotely, via a domain name, then you will need to define these two properties in your
# 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".
# Input a list of comma delimited domains which the portal is allowed to
# redirect to. Input a blank list to allow any domain.
# 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.
Here is an example:
In the above example company.com, documents.company.com, and othercompanydomain.com are the domain names used to access the remote server. The same rule applies if you plan on using IP Addresses. Make sure to keep the 127.0.0.1.