You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Beau Hebert <bh...@c-quential.com> on 2003/05/06 21:54:45 UTC
Mod_jk
Hello-
I have recently installed mod_jk for use with Tomcat 4.0.1 and Apache
1.3.27. I am a new to Tomcat administration so please forgive if this
post belongs on the Apache list (plus I'm more akin to the TC crowd). I
am deploying a commerce application and have successfully installed
mod_jk and am seemingly able to send the proper requests to the
respective containers. My problem is that the application is lacking
it's functionality, and doesn't seem to be accessing the classes
properly (i.e. when I submit to the database on the login the page, it
simply refreshes.). The App works flawlessly in standalone mode, and is
able to pull dynamic data from the database in it's current mode using
mod_jk. I have combed through both catalina.out and mod_jk.log but
didn't find any error messages. My suspicion is that my problem is die
to the fact I have not Aliased or Contextualized my directories
properly, or that because I have blocked access to the WEB-INF dir. Do I
need to specifically allow access to the classes in mod_jk.conf? Any
assistance is appreciated. I have copied my mod_jk.conf below.
Thanks in advance or any insights.
Beau Hebert
## eP3 is the root directory in Tomcat for the App ##
# Load mod_jk
LoadModule jk_module modules/mod_jk.so
# Configure mod_jk
JkWorkersFile /var/tomcat4/conf/jk/workers.properties
JkLogFile /var/tomcat4/logs/mod_jk.log
JkLogLevel info
#Virtual Host
<VirtualHost mydomain.net>
ServerName mydomain.net>
JkMount /eP3/*.jsp Worker1
</VirtualHost>
# Create an eP3 Alias
Alias /eP3/ "/var/tomcat4/webapps/eP3/"
#eP3 Home Directory
<Directory "/var/tomcat4/webapps/eP3/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Prevent any unauthoized access to WEB-INF
<Location /*/WEB-INF/*>
AllowOverride None
Deny From All
</Location>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org