-----
Assuming that we would like Liferay to work as http://<hostname>/myportal instead of http://<hostname>/, just make the following changes.
1. Under [Tomcat_Home]/webapps directory
- Rename directory ROOT to myportal
- Rename file root to myportal
- Edit myportal file and change <Context path=""...> to <Context path="/myportal"...>
- Edit portal-ext.properties (create one if it does not exist), add in portal.ctx=/myportal
- Login as portal administrator
- Bring up "Control Panel" and click on "Portal Instances" under "Server" tab
- Change the default value "localhost" at "Virtual Host" to the domain where Liferay is hosted.
If you want to change the domain name from localhost host to others, follow this tutorial, http://setup-steps.blogspot.com/2013/07/liferay-tomcat-bundle-606-change-host.html
No comments:
Post a Comment