I hear you.  The way it is behaving you would think that apache isn't even aware of mod_jk.  But I have followed the documentation and done what I am supposed to.  Do you see anything wrong?
 
Here is the tail of my httpd.conf file:

Include conf/ssl/mod_ssl.conf

Include conf/ssl/ssl.default-vhost.conf

# amjad added below in order to get tomcat to plug in with apache.

Include /usr/local/jakarta-tomcat/conf/mod_jk.conf

# Include /usr/local/jakarta-tomcat/conf/tomcat-apache.conf

Include conf/addon-modules/php.conf

#Include /etc/httpd/conf/mod_jk.conf

and here is my mod_jk.conf file:

###################################################################

# Auto generated configuration. Dated: Mon Jan 15 19:27:08 PST 2001

###################################################################

#

# The following line instructs Apache to load the jk module

#

LoadModule jk_module libexec/mod_jk.so

AddModule mod_jk.c

JkWorkersFile /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties

JkLogFile /usr/local/jakarta-tomcat-3.2.1/logs/mod_jk.log

#

# Log level to be used by mod_jk

#

JkLogLevel debug

###################################################################

# SSL configuration #

#

# By default mod_jk is configured to collect SSL information from

# the apache environment and send it to the Tomcat workers. The

# problem is that there are many SSL solutions for Apache and as

# a result the environment variable names may change.

#

# The following (commented out) JK related SSL configureation

# can be used to customize mod_jk's SSL behaviour.

#

# Should mod_jk send SSL information to Tomact (default is On)

# JkExtractSSL Off

#

# What is the indicator for SSL (default is HTTPS)

# JkHTTPSIndicator HTTPS

#

# What is the indicator for SSL session (default is SSL_SESSION_ID)

# JkSESSIONIndicator SSL_SESSION_ID

#

# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)

# JkCIPHERIndicator SSL_CIPHER

#

# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)

# JkCERTSIndicator SSL_CLIENT_CERT

#

# #

###################################################################

#

# Root context mounts for Tomcat

#

JkMount /*.jsp ajp13

JkMount /servlet/* ajp13

#########################################################

# Auto configuration for the /examples context starts.

#########################################################

#

# The following line makes apache aware of the location of the /examples context

#

Alias /examples "/usr/local/jakarta-tomcat-3.2.1/webapps/examples"

<Directory "/usr/local/jakarta-tomcat-3.2.1/webapps/examples">

Options Indexes FollowSymLinks

</Directory>

#

# The following line mounts all JSP files and the /servlet/ uri to tomcat

#

JkMount /examples/servlet/* ajp13

JkMount /examples/*.jsp ajp13

#

# The following line prohibits users from directly accessing WEB-INF

#

<Location "/examples/WEB-INF/">

AllowOverride None

deny from all

</Location>

#

# The following line prohibits users from directly accessing META-INF

#

<Location "/examples/META-INF/">

AllowOverride None

deny from all

</Location>

#######################################################

# Auto configuration for the /examples context ends.

#######################################################

#########################################################

# Auto configuration for the /admin context starts.

#########################################################

#

# The following line makes apache aware of the location of the /admin context

#

Alias /admin "/usr/local/jakarta-tomcat-3.2.1/webapps/admin"

<Directory "/usr/local/jakarta-tomcat-3.2.1/webapps/admin">

Options Indexes FollowSymLinks

</Directory>

#

# The following line mounts all JSP files and the /servlet/ uri to tomcat

#

JkMount /admin/servlet/* ajp13

JkMount /admin/*.jsp ajp13

#

# The following line prohibits users from directly accessing WEB-INF

#

<Location "/admin/WEB-INF/">

AllowOverride None

deny from all

</Location>

#

# The following line prohibits users from directly accessing META-INF

#

<Location "/admin/META-INF/">

AllowOverride None

deny from all

</Location>

#######################################################

# Auto configuration for the /admin context ends.

#######################################################

#########################################################

# Auto configuration for the /test context starts.

#########################################################

#

# The following line makes apache aware of the location of the /test context

#

Alias /test "/usr/local/jakarta-tomcat-3.2.1/webapps/test"

<Directory "/usr/local/jakarta-tomcat-3.2.1/webapps/test">

Options Indexes FollowSymLinks

</Directory>

#

# The following line mounts all JSP files and the /servlet/ uri to tomcat

#

JkMount /test/servlet/* ajp12

JkMount /test/*.jsp ajp12

#

# The following line prohibits users from directly accessing WEB-INF

#

<Location "/test/WEB-INF/">

AllowOverride None

deny from all

</Location>

#

# The following line prohibits users from directly accessing META-INF

#

<Location "/test/META-INF/">

AllowOverride None

deny from all

</Location>

#######################################################

# Auto configuration for the /test context ends.

#######################################################

 
-----Original Message-----
From: Stefan Langer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 5:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Need some help please

Could you include your tomcat.conf or the part of your httpd.conf where you include mod_jk ???
It sounds to me as if you haven't included the JkMounts for mod_jk  and associate them with the jsp extensions.
 
Stefan

Reply via email to