L
laredotornado
Hi, On Fedora Core 5 I have Apache 2.2, Tomcat 5.5, and mod_jk 1.2
installed. These are the install directories
tomcat - /usr/local/tomcat
apache - /usr/local/apache2
I would like JSP files within /usr/local/apache2/htdocs to be
interpreted by Tomcat and right now, the raw source prints out. What
configuration directives do I need to add to my httpd.conf file? Right
now, the directives I have are
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile conf/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send JSPs for context /jsp-examples to worker named default
JkMount /jsp-examples/*.jsp default
# Send servlets-examples to worker named default
JkMount /servlets-examples/* default
# Send JSPs for context /jsp-examples to worker named default
JkMount /*.jsp default
# Static files in the jsp-examples webapp are served by apache
Alias /jsp-examples "/usr/local/tomcat/webapps/jsp-examples/"
Options FollowSymLinks
# Static files in the servlets-examples webapp are served by apache
Alias /servlets-examples "/usr/local/tomcat/webapps/servlets-examples/"
Options FollowSymLinks
Thanks for the help, - Dave
installed. These are the install directories
tomcat - /usr/local/tomcat
apache - /usr/local/apache2
I would like JSP files within /usr/local/apache2/htdocs to be
interpreted by Tomcat and right now, the raw source prints out. What
configuration directives do I need to add to my httpd.conf file? Right
now, the directives I have are
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile conf/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send JSPs for context /jsp-examples to worker named default
JkMount /jsp-examples/*.jsp default
# Send servlets-examples to worker named default
JkMount /servlets-examples/* default
# Send JSPs for context /jsp-examples to worker named default
JkMount /*.jsp default
# Static files in the jsp-examples webapp are served by apache
Alias /jsp-examples "/usr/local/tomcat/webapps/jsp-examples/"
Options FollowSymLinks
# Static files in the servlets-examples webapp are served by apache
Alias /servlets-examples "/usr/local/tomcat/webapps/servlets-examples/"
Options FollowSymLinks
Thanks for the help, - Dave