You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "DonS, Choi" <ds...@dreami.co.kr> on 2000/03/29 09:31:35 UTC
Re: 죄송합니다만...
1)In httpd.conf file
include /${TOMCAT_HOME/conf/tomcat.conf <- $TOMCAT_HOME을 자신의 directory에 맞게
2) mod_jserv.so를 /usr/local/apache/libexec/ 에 옮김
<- 만약 mod_jserv.so가 없으면 다시 연락 바람
3) apache를 DSO를 지원하도록 설치 했는지 확인
4) server.xml file
...
<Context path="/" docBase="/usr/local/apache/htdocs" debug="0" reloadable="true" >
</Context>
...
5) tomcat.conf file
LoadModule jserv_module libexec/mod_jserv.so
<IfModule mod_jserv.c>
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
ApJServDefaultHost localhost
ApJServDefaultPort 8007
....
ApJServMount /servlet /ROOT
</IfModule>
위의 내용처럼 하면 http://a.com/a.jsp 를 URL에서 치면 /usr/local/apache/htdocs에 있는 a.jsp가 실행 될것입니다.