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 our configuration we would be downloading, mod_jk-1.2.28-httpd-2.2.X.so and dropping it into the apache modules folder,
Code Block | ||
---|---|---|
| ||
sudo mv mod_jk-1.2.28-httpd-2.2.X.so /usr/lib/apache2/modules/ # Make the module available to Apache2 |
...
Create mod_jk.load also in /etc/apache2/mods-available,
Code Block | ||
---|---|---|
| ||
LoadModule jk_module /usr/lib/apache2/modules/mod_jk-1.2.28-httpd-2.2.X.so |
...
There are still a few more steps. Go back and continue reading from Enable mod_jk of Apache Tomcat Connector.
References
Comparison against mod_proxy_http and mod_proxy_ajp - http://www.tomcatexpert.com/blog/2010/06/16/deciding-between-modjk-modproxyhttp-and-modproxyajp