Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Thursday, July 25, 2013

Liferay 6.0.6 Tomcat Bundle: Create ProxyPass On Apache

Assume that we have two tomcat servers running: one on port 8080 and the other on port 9080.

1) Edit hosts file as follows:
add liferay.local
add liferay.support


2) Using Uwamp add modules:
add proxy_module
add proxy_http_module
add rewrite_module


3) Using UwAmp, add virtual host
a) Enter details as follows

Port:
80

Server Name: 
liferay.local

Others: 
ProxyPass / http://liferay.local:8080/
ProxyPassReverse / http://liferay.local:8080/



3a) If you view httpd_source using notepad++, the last lines would be as follows:


4) Repeat the same for liferay.support
a) Enter details as follows

Port:
80

Server Name: 
liferay.local

Others: 
ProxyPass / http://liferay.support:9080/
ProxyPassReverse / http://liferay.support:9080/

No comments:

Post a Comment