Tuesday, July 22, 2008

Configuration Go Daddy dedicate web server

Go Daddy is a famous Web solutions company.They provide the domains,hosting,site builders and SSL services.

we have buy a dedicate web server from them.That web server work very well.We have request from them, Fedora OS with jdk version, Apache server and tomcat web server .

with all this I can not work out your requirement.I need configure all of them.

That mean I have to integrated Apache server with tomcat web server.For that purpose I have found out article which is publish by Orelliy onJava.com team.

Step I have to follows

1. type http://localhost/ and find out whether the apache server is working on it.

2. after that type http://localhost:8080 and find out whether the tomcat server is working on it

3. edit the tomcat server.xml file (check for tomcat install location)

you have to include following lines
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>

4. you have to edit
workers.properties file in the tomcat install location

you have to include following lines

worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
5. after that you have to edit httpd.conf file ,which is avaliable at apache install location


You have to include followling lines from that file.
LoadModule jk_module libexec/mod_jk-1.3.26.dll
AddModule mod_jk.c
JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
JkLogLevel debug
Alias /examples C:/Tomcat4_1_12/webapps/examples
JkMount /examples/servlet/* testWorker
JkMount /examples/*.jsp testWorker

AllowOverride None
deny from all
6. after that test your new configuration

type

http://localhost/examples/jsp/index.html

and now you can see this web site through the  apache server.


Note:- In this case the request ask form the apache server ,after that request is forward to the tomcat web server.tomcat web server complete the user request and send the out put to the apache server.


No comments: