开发者

Tomcat6 - 2 wars, 2 hosts

开发者 https://www.devze.com 2022-12-18 04:03 出处:网络
I have 2 war files app1.war and app2.war. I have 2 hostnames domain1.com and domain2.com. I have one desk top running ubuntu and t开发者_开发问答omcat6.

I have 2 war files app1.war and app2.war. I have 2 hostnames domain1.com and domain2.com.

I have one desk top running ubuntu and t开发者_开发问答omcat6.

I would like to know how to configure tomcat to serve app1 for domain1.com and app2 for domain2.com.

Thanks in Advance.


You need apache-httpd in front of your tomcat, then you need to configure the rewrite module.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号