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