Note |
---|
This article can also be improved to use the newer conventions in Tomcat server names. |
Table of Contents |
---|
Introduction
It is often useful to have Apache front Tomcat.
...
BUT it is not quite working yet. Continue reading.
Note |
---|
This has now been corrected in Ubuntu 12. You no longer need to manually create your own jk.conf file. |
Create jk.conf
The approach I take here is to make the mod_jk available at the global level to all Apache Virtual hosts. If we wanted things to be more granular you could instead put the contents of jk.conf in a specific virtual host.
...
Launch a browser and to to, http://www.krypton.com:8080/examples/. You should see the following page show up.
In our examples we will be using virtual hosts. Once you get virtual hosts working, add a reference to the worker entry to your virtual host file.
...