You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Al Hatf <al...@yahoo.com> on 2001/08/01 10:09:52 UTC
Neubie-Apache-tomcat
Hi people
I have a Win2k machine with Apache 1.3 and Jakarta
tomcat 3.1.1. I have put in the adapter jser in the
apache moudles folder and included the files in
httpd.conf. but i am getting the following error and
apache is not starting
Syntax error on line 17 of
d:/backup/jakarta-tomcat/conf/tomcat.conf:
ApJServManual: cannot be specified more than once per
host
Note the errors or messages above, and press the <ESC>
key to exit. 14...
My tomcat.conf is as follows. Can u guys help me here.
Is there any place i can find docs to connect apache
with tomcat.
Thanks
Razi
# Tell Apache on win32 to load the Apache JServ
communication module
LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ
communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module
@LIBEXECDIR@/mod_jserv.so
#LoadModule jserv_module libexec/mod_jserv.so
<IfModule mod_jserv.c>
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007
#################### All jsp files will go to tomcat
####################
ApJServMount default /root
AddType text/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>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/