...
First verify that you can hit the examples application without mod_jk by directly hitting the tomcat a TomcatA server running on port 8080.
...
In our examples we will be using virtual hosts. Once you get virtual hosts working, add this a reference to the worker entry to your virtual host file.
Code Block | ||
---|---|---|
| ||
JkMount /examples tomcat_a_worker JkMount /examples/* tomcat_a_worker |
Note |
---|
The name of the worker depends on what you used in your workers.properties file. In this article we had two other examples, |
If you are not using virtual hosts you can add the above to /etc/apache2/sites-enabled/000-default.
If you wanted to use the load balancer you would change tomcatA TomcatA to loadbalancer.
Restart Apache
...