开发者

How to set up shared hosting on Tomcat?

开发者 https://www.devze.com 2023-02-25 16:31 出处:网络
Can anyone share with me a tutorial about how to set a shared hosting using tomcat? I need multiple Tomcat instances with different memory configurations but all instances serving on same port, with

Can anyone share with me a tutorial about how to set a shared hosting using tomcat?

I need multiple Tomcat instances with different memory configurations but all instances serving on same port, with the differen开发者_JAVA技巧ce on domain names.

For instance:

  • subhost1.mydomain and subhost2.mydomain or
  • mydomain/subhost1 and mydomain/subhost2

Thanks!!!


I would start here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Although, I'm not sure it is possible to have different memory configurations for each host. That you could achieve, for sure, if you were willing to run on different ports.


What I have to do is setup multiple Tomcat instances and use Apache mod_jk as front end.

0

精彩评论

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

关注公众号