title: Same Host/server name for different virtual host
body: <p>I have deployed 3 applications in 3 Tomcat Instances</p>
  
  <pre><code>http://host:8080/app0
  http://host:8081/app1
  http://host:8082/app2
  </code></pre>
  
  <p>and I have the workers.properties as </p>
  
  <p>worker.list= worker1,worker2,worker3</p>
  
  <pre><code># Set properties for worker 'example' (ajp13)
  
  worker.worker1.host=host
  worker.worker1.port=8009
  worker.worker1.type=ajp13
  
  # Set properties for worker 'example' (ajp13)
  
  worker.worker2.host=host
  worker.worker2.port=8019
  worker.worker2.type=ajp13
  
  # Set properties for worker 'example' (ajp13)
  
  worker.worker3.host=host
  worker.worker3.port=8029
  worker.worker3.type=ajp13
  </code></pre>
  
  <p>How my httpd.conf should look like? All the virtual host can have the same server name as like below</p>
  
  <pre><code># app0 instance virtual host
  &lt;VirtualHost *:80&gt;
  ServerName host
  DocumentRoot TOMCAT_HOME"\Tomcat Instance 1\webapps"
  ErrorLog logs/app0.log
  JkMount /app0 worker1
  &lt;/VirtualHost&gt;
  
  # app1 instance virtual host
  &lt;VirtualHost *:80&gt;
  ServerName host
  DocumentRoot TOMCAT_HOME"\Tomcat Instance 2\webapps"
  ErrorLog logs/app1.log
  JkMount /app1 worker2
  &lt;/VirtualHost&gt;
  
  # app2 instance virtual host
  &lt;VirtualHost *:80&gt;
  ServerName host
  DocumentRoot TOMCAT_HOME"\Tomcat Instance 2\webapps"
  ErrorLog logs/app2.log
  JkMount /app2 worker3 
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>can any one help me? If I use mod proxy I am getting 502 Proxy error intermittently so thought of doing with mod jk.</p>