----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
You might want to post this on the tomcat mail list....this is a mail list
for JServ. This list has enough traffic without adding tomcat posts as
well. I think you can find the mail list at jakarta.apache.org or something
like that.
Cary
-----Original Message-----
From: Griggs, James [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 9:08 AM
To: '[EMAIL PROTECTED]'
Subject: Apache and Tomcat
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>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]