Connecting to your Web App from Apache

First, be sure that you have created your web app and that you can access it from my server:
Creating a Web App

Second, be sure that your web server is running:
Setting up your server

Third, edit the worker.properties file in your serverRoot/conf directory.
Change the port from 8009 to 8769.

Finally, look for the following lines in the httpd.conf file

LoadModule jk_module /home/ocelot/aul-user-web/modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
If the above lines are not there, then add them.

Add JkMount directives for your web apps. Do not add a JkMount for the ROOT web app in Tomcat. Use the last format to map all .jsp files to Tomcat.

JkMount /manager/* tomcat
JkMount /Tutorials/* tomcat
JkMount /Tutorials tomcat
JkMount /*.jsp tomcat
You can test that the servlet engine is working properly by accessing the manager from Apache.
Replace XX with your host number and 99999 with your port number in the following.
http://studentXX.cgs4854.cs.fiu.edu:99999/manager/html

You will see the manager web app. Even though you can see all of your web apps in the manager, the only ones that are available from Apache are those that appear in a JkMount directive in httpd.conf.

Next, access your book web app from Apache.
http://studentXX.cgs4854.cs.fiu.edu:99999/Tutorials/