In Ubuntu, using apt-get to install mod_jk is really easy. However, sometimes I need to do this with alternative operating systems such as Solaris.
For this manual process, where possible I try to follow the conventions established by the Ubuntu community.
If you are not using Ubuntu apt-get or simply want to use the newest mod_jk you can to the Apache Tomcat site. The version we want for the Slice server is as follows,
- Binary version
For our configuration we would be downloading, mod_jk-1.2.28-httpd-2.2.X.so and dropping it into the apache modules folder,
Load mod_jk into Apache
To load mod_jk into Apache we must perform the following.
Create mod_jk.load also in /etc/apache2/mods-available,
Create the corresponding .conf and .load files in /etc/apache2/mods-available.
Comparison against mod_proxy_http and mod_proxy_ajp - http://www.tomcatexpert.com/blog/2010/06/16/deciding-between-modjk-modproxyhttp-and-modproxyajp