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
andsubhost2.mydomain
ormydomain/subhost1
andmydomain/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.
精彩评论