Guys

Finally I configured Apache with Tomcat 4.0 in windows 2000. Hopefully
this document will be useful to everybody

Thanks
Prem

Apache Web Server Installation in windows 2000
===============================

01. Download Apahce WebServer from the following Link
http://www.apache.org/dist/httpd/binaries/win32/apache_1.3.22-win32-x86.exe

02. Install Apache WebServer as per installation kit instrcutions
    Network Domain            : xxx.com
    Server Name            : your computer name
    Admin Email Address        : your email address
    check - click run as a service for all users options
03. Choose the Apache Home diretory and say next
04. Click Finish to complete the Apache server installation

05. Try this url http://127.0.0.1:80
06. If you get Apache Home page in your browser. you installaed Apahe
web server successfully.


Tomcat 4.0  Installation in windows 2000
==========================

07. Download Tomcat 4.0 from the following link
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakarta-tomcat-4.0.1.exe

08. Install Tomcat as per intallation kit instructions
    Note : ( Dont select thie option "Tomcat as NT service/2000 only" )
09. Go to tomcat_home/bin/
10. run this command catalina run
11. Try this url http://127.0.0.1:8080
12. If you get Tomcat Home page in your browser. you installaed Tomcat
4.0 successfully.

Making Tomcat 4.0 as a servlet/jsp  container for apache webserver
============================================

13. Download web app modules from the following link
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/webapp-module-1.0-tc40-windows.zip

14. Unzip this file under apache_home/modules/
15. Copy the "mod_webapp.so" and "libapr.dll"  into apache_home/modules/
16. Add the following lines in apache_home/conf/httpd.conf of apache

      LoadModule webapp_module modules/mod_webapp.so
      AddModule mod_webapp.c
      WebAppConnection conn      warp  127.0.0.1:8008
      WebAppDeploy     examples  conn  /examples

17. Save the http.conf file and restart the apache webserver and tomcat
servlet container
18. Open tomcat_home/conf/server.xml and add
"defaulthost=yourservername" in engine tag under service tag
19. Save the server.xml file and restart tomcat ans apache webserver
20. Try this url http://127.0.0.1/examples/jsp
21. If you get jsp examples page in your browser. you installed tomcat
as a servelt container for apache webserver successfully.


Author: Kam Premkumar
Mail    : [EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to