Chetna Bhatt <[EMAIL PROTECTED]> on 01/13/2002 10:51:05 PM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
cc:
Subject: Integrating TC 4.0 with Apache 1.3.12
hi,
PLATFORM: WINDOWS NT SERVER
have gone thru documents and was able to configure Apache and TC with
mod_webapp.so
I hope the configuration whcih i did was correct:
I installed the mod_weabb.so in the modules directory of Apache, copied
the libapr.dll under Apache directory and in the httpd.cong file the
following lines were added:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp 191.1.24.15:8080
WebAppDeploy examples warpConnection /examples/
WebAppDeploy chetna warpConnection /chetna/
WebAppInfo /webapp-info
Just wanted to confirm about the port no. mentioned on 3rd line...is it
the port no. of TC or should i mention the port no. of th Apache server
which is 80.
To my knowledge the forwardHost:port parameter of WebAppConnection tell
mod_webapp where to send requests. The above port no. should match the port
no. in the <Connector> entry in server.xml (this is the port no. on which
the connector listens for incoming connections). So check that the port no.
in the httpd.conf and the port no. in the server.xml match.
was also confused about calling .jsp files from html files residing in
htdocs folder of Apache. do i have to give the
http://191.1.24.15:8080/chetna/Test.jsp or just
http://191.1.24.15/chetna/Test.jsp
First, I don't think you can call .jsp files from html files. :-)
Next if you have created the <Context> entry for "chetna" in the server.xml
which points correctly then you shouldn't have a problem using either of
the above URLs. The first URL will send the request directly to Tomcat
while the second sends it to Apache which will then forward it to Tomcat.
Can anyone help me? Th documents are not very helpful.
Thanks in advance
Regards
Chetna
Hope this helps.
Thanks.
RS
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>