hv <at> Fashion Content <info <at> fashioncontent.com> writes:
> You have Apache httpd server in front of Tomcat. The httpd server serves > several domains/hostnames. In this case 6. Each domain has a set of uri > rewrite rules that prefixes the uri with the context path and passes the > request on through the connector. So for instance on my site > > www.fashioncontent.com/Login.htm becomes /fc-portal/Login.htm when it > reaches Tomcat. > > If I deployed as root I would be forced to have 6 instances of Tomcat > running on the server. Have you tried a mapping that keeps the context path like: www.fashioncontent.com/Login.htm => internal.fashioncontent.com:80/Login.htm www.foo.com/Login.htm => internal.foo.com:81/Login.htm Then configure Tomcat like: <Server ...> <Service ...> <Connector port="80" proxyName="www.fashioncontent.com" proxyPort="80"/> ... </Service> <Service ...> <Connector port="81" proxyName="www.foo.com" proxyPort="80"/> ... </Service> </Server> In each engine host, deploy your app in the ROOT context. This is still just one instance of Tomcat. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
