The mod_jk connector for Apache and Tomcat
This little tiny piece of code is the bridge that helps Apache and Tomcat collaborate together to help you host the most powerful web applications from your own PC! Maybe you're wondering, "But why do I need that module?" Well, if you have noticed the screenshot of step 5 from the previous exercise, to access your Roller homepage you need to type http://localhost:8080/roller
. The :8080
part is necessary to access Tomcat, because the Apache web server uses http://localhost
to serve web pages. With the mod_jk
connector, Apache and Tomcat will share the http://localhost
address without conflicts, and you will access your Roller homepage with http://localhost/roller
.