Re: Multiple virtual hosts at root context
You can have virtual hosts in tomcat. We are doing it, but I will need to look up the server.xml configuration: etc... etc... etc... etc... etc... It works fine for us. Daniel Gibby Andy Hutchinson wrote: I am using Tomcat 4.1.27 under Linux for a project where the machine is embedded into a pumping machine, i.e. limited memory and resources. The 'services' are all identified by sub domains so that you would get a master domain of the pump site, a sub domain for each pump unit and a further subdomain for each reading. For example, http://finham - gives an overview of the site called finham http://top-bearing.finham gives an overview of the pump called top-bearing http://power.top-bearing.finham gives a power reading for the pump etc. Everything was developed with Apache fronting Tomcat and all is well. We've now arrived at the factory tests and I think I've shot myself in the foot. I had always intended to remove the Apache front end as it just will not fit onto the hardware. The problem seems to be that you cannot have a standalone Tomcat supporting many virtual hosts where the context paths are the same. You can in Apache. I appreciate that there are other ways to do this but this 'design' has now been used by other systems so any changes are bad news at this stage. My question is, am I correct that this cannot be done using a standalone Tomcat and, if not, does anyone have any ideas? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: Multiple virtual hosts at root context
Oops. In the panic of thinking it wasn't possible I somehow proved to myself that it wasn't possible |-( I inadvertently loaded all the contexts for all the hosts into all the hosts. I think the previous post is what used to be known as a structured walk through. So thanks for that all the same. Date: Tue, 21 Oct 2003 09:55:24 +0100 To: "Tomcat Users List" <[EMAIL PROTECTED]> From: Andy Hutchinson <[EMAIL PROTECTED]> Subject: Multiple virtual hosts at root context I am using Tomcat 4.1.27 under Linux for a project where the machine is embedded into a pumping machine, i.e. limited memory and resources. The 'services' are all identified by sub domains so that you would get a master domain of the pump site, a sub domain for each pump unit and a further subdomain for each reading. For example, http://finham - gives an overview of the site called finham http://top-bearing.finham gives an overview of the pump called top-bearing http://power.top-bearing.finham gives a power reading for the pump etc. Everything was developed with Apache fronting Tomcat and all is well. We've now arrived at the factory tests and I think I've shot myself in the foot. I had always intended to remove the Apache front end as it just will not fit onto the hardware. The problem seems to be that you cannot have a standalone Tomcat supporting many virtual hosts where the context paths are the same. You can in Apache. I appreciate that there are other ways to do this but this 'design' has now been used by other systems so any changes are bad news at this stage. My question is, am I correct that this cannot be done using a standalone Tomcat and, if not, does anyone have any ideas? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple virtual hosts at root context
I am using Tomcat 4.1.27 under Linux for a project where the machine is embedded into a pumping machine, i.e. limited memory and resources. The 'services' are all identified by sub domains so that you would get a master domain of the pump site, a sub domain for each pump unit and a further subdomain for each reading. For example, http://finham - gives an overview of the site called finham http://top-bearing.finham gives an overview of the pump called top-bearing http://power.top-bearing.finham gives a power reading for the pump etc. Everything was developed with Apache fronting Tomcat and all is well. We've now arrived at the factory tests and I think I've shot myself in the foot. I had always intended to remove the Apache front end as it just will not fit onto the hardware. The problem seems to be that you cannot have a standalone Tomcat supporting many virtual hosts where the context paths are the same. You can in Apache. I appreciate that there are other ways to do this but this 'design' has now been used by other systems so any changes are bad news at this stage. My question is, am I correct that this cannot be done using a standalone Tomcat and, if not, does anyone have any ideas? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]