tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Griggs, James" <grig...@netgenshopper.com>
Subject tomcat and apache cooperation
Date Tue, 04 Jan 2000 19:53:49 GMT
I installed Apache 1.3.9, Tomcat 3.0, and Jserv on a Windows NT SP6 machine
with jdk 1.2.2. 

Apache successfully redirects requests to tomcat using the /examples/ alias
and runs the servlet and jsp examples as expected.

I get a 500 error however when I place a .jsp file in the default htdocs
directory for apache and attempt to access it.  No Error appears in the
server log.

I am assuming this is a problem in my http.conf file but have been
unsuccessful in finding the right combination to get this to work.

Here's the snippet at the end of the http.conf file ...pretty much straight
from the install guide: 

###################################################### 
#                     Apache JServ Configuration
File                         # 
###################################################### 

LoadModule jserv_module modules/ApacheModuleJServ.dll 

<IfModule mod_jserv.c> 
# Do not edit! 
ApJServManual on 
ApJServDefaultProtocol ajpv12 
ApJServSecretKey DISABLED 
ApJServMountCopy on 
ApJServLogLevel notice 

ApJServDefaultHost localhost 
ApJServDefaultPort 8007 

#################### All jsp files will go to tomcat #################### 
ApJServMount default /root 

AddType test/jsp .jsp 
AddHandler jserv-servlet .jsp 

############################## Context mapping - all requests go to tomcat 
ApJServMount /examples /root 

############################## Context mapping - you need to "deploy" 
# ( copy or ln -s ) the context into htdocs 
# 
# ApJservMount /CONTEXT/servlet  /root 
# <Location /CONTEXT/WEB-INF/ > 
#      AllowOverride None 
#      deny from all 
# </Location> 

</IfModule>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message