-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Liferay Beginner's Guide

We will be using Apache, which is most widely used as a web server to act as a proxy server to redirect all the requests it receives to the Liferay server behind it. The steps for this are as follows:
Download and install the latest version of Apache. This would start Apache as a service.
Navigate to conf
folder inside Apache, which has a file called httpd.conf
.
Open the file and uncomment the following line:
LoadModule proxy_module modules/mod_proxy.so
Add the following lines at the end of the file, and then save the same:
ProxyRequests On ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
Restart the server.
We need to add a DNS entry for setting up a virtual host, so for the moment we will just add the host entry. Open the hosts file in C:\WINDOWS\system32\drivers\etc
and add an entry as follows:
127.0.0.1 neighborhood.cignex.com
Open your browser and hit http://neighborhood.cignex.com
. You should be able to...
Change the font size
Change margin width
Change background colour