install steps

wingslee (wizi)
本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
After the Tomcat can work as a standalone server, I make the following changes

1.modify the tomcat.conf ,which is as following
###############################################################################
# Apache JServ Configuration File #
###############################################################################

# Note: this file should be appended or included into your httpd.conf

# 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 ajpv12://localhost:8007/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>

2. append the following to the file " httpd.conf " ,which is in the directory "Apache/conf":

Include d:\jspenv\tomcat\jakarta-tomcat\conf\tomcat-apache.conf

3.copy the ApacheModuleJserv.dll to the directory :"Apache/modules "

4.copy d:\jspenv\tomcat\jakarta-tomcat\webapps\examples\*.* to $Apache_home/htdocs/examples

4.Startup Tomcat

5.startup Apache

6.browse those HTML in the directory "
$Apache_home/htdocs/examples",OK

7.Try to exec some jsp or servlets , ERROR.

Thanks for ur kind help
更多精彩文章及讨论,请光临枫下论坛. 网址: rolia.net/zh
(#10275@0)
2000-10-9 -05:00

回到话题: the prob is when i try to connect Apache with Tomc

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=10275