RE: Setting up a parallel test environment on the same machine as main server

2006-02-15 Thread Tim Lucia
I believe you need to have a virtual host in Tomcat for each one on Apache. I also believe that the name of the workers is irrelevant, as is the IP address over which they communicate -- as long as the servers are bound to the right address(es). All differentiation takes place on the host header

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
1. Moving the JkMount directive inside a VirtualHost... will make it accesible from only that virtual host. So, you must repeat common ones, such as /jkmanager. I put the mappings (JkMount(s)) right in the virtual host definition(s) with no trouble at all. 2. The virtual host is determined by

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Tuesday 14 February 2006 12:36, Tim Lucia wrote: 1. Moving the JkMount directive inside a VirtualHost... will make it accesible from only that virtual host. So, you must repeat common ones, such as /jkmanager. I put the mappings (JkMount(s)) right in the virtual host definition(s) with no

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Tuesday 14 February 2006 12:36, Tim Lucia wrote: You can always install Apache httpd + Tomcat on a second machine (or on the same machine on a separate set of ports), if you are reluctant to try it on you production host. Of course in an ideal world I would - but this is my home, and I

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Wednesday 15 February 2006 01:13, Tim Lucia wrote: The http host header is sent by the user-agent (browser) based on the address requested in the URL. This is how virtual hosts are differentiated. Tomcat supports a host container for virtual host differentiation, just like Apache does.