<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Suraj chhetry</title>
	<atom:link href="http://surajchhetry.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://surajchhetry.wordpress.com</link>
	<description>Small Programming help</description>
	<lastBuildDate>Thu, 06 Nov 2008 16:13:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='surajchhetry.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Suraj chhetry</title>
		<link>http://surajchhetry.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://surajchhetry.wordpress.com/osd.xml" title="Suraj chhetry" />
	<atom:link rel='hub' href='http://surajchhetry.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Tomcat-Apache Integration(Php and Java supported Web Server)</title>
		<link>http://surajchhetry.wordpress.com/2008/11/04/tomcat-apache-integration/</link>
		<comments>http://surajchhetry.wordpress.com/2008/11/04/tomcat-apache-integration/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 07:27:00 +0000</pubDate>
		<dc:creator>surajchhetry</dc:creator>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://surajchhetry.wordpress.com/?p=3</guid>
		<description><![CDATA[1. Download zip version of apache from http://www.apachefriends.org/en/xampp-windows.ht 2. Also download tomcat apache tomcat add-ons from http://www.apachefriends.org/en/xampp-windows.html#644 3. Unzip apache any location example c:\xampp 4. Also unzip tomcat add-ons on the same directory(c:\xampp). While doing so it will ask for replace existing one .Press “Yes”. 5. Goto xampp folder and run the batch file setup_xampp.bat [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=surajchhetry.wordpress.com&amp;blog=5399733&amp;post=3&amp;subd=surajchhetry&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Download zip version of apache from http://www.apachefriends.org/en/xampp-windows.ht<br />
2. Also download tomcat apache tomcat add-ons from http://www.apachefriends.org/en/xampp-windows.html#644<br />
3.      Unzip apache any location example c:\xampp<br />
4.      Also unzip tomcat add-ons on the same directory(c:\xampp). While doing so it will ask for replace existing one .Press “Yes”.<br />
5. Goto xampp folder and run the batch file setup_xampp.bat<br />
6. Open readme-addon-tomcat.txt file which is present in Your_Xampp_Folder(eg c:\xammp)<br />
7. Search “Tomcat Doc Root” on that file. You will see as below<br />
&#8220;Tomcat Doc Root = .\xampp\tomcat\webapps&#8221;<br />
8. Copy only tomcat location i.e “\tomcat\webapps”.<br />
9. Now open apache configuration file which you can find at apache/conf/httpd.conf<br />
10. Search for DocumentRoot Tab  DocumentRoot &#8220;C:/xampp/htdocs&#8221; Modify the DocumentRoot as         DocumentRoot “C:/xampp/tomcat/webapps”<br />
11. Search  and pest above DocumentRoot path it will looks like<br />
12. Add two line any where( not in directory tab ) below ServerName localhost:80</p>
<p>ServerSignature Off<br />
ServerTokens Prod</p>
<p>This two lines preventing the server to any show kind of version information and security policy.<br />
13. Add –Indexes to  tab<span style="font-size:12pt;font-family:&quot;"> &#8220;Directory&#8221; tab as<br />
</span></p>
<p>Options FollowSymLinks -Indexes</p>
<p class="MsoNormal">And &#8220;Directory “C:\xampp\tomcat\webapps&#8221;</p>
<p><span style="font-size:12pt;font-family:&quot;"><span> </span>Options – Indexes</span></p>
<p>14. Save and exit.<br />
15. Run xampp control(xampp-control.exe) from c:\xampp<br />
16. Try to run Mysql and Apache If it runs then configuration is okay upto now.<br />
17. Goto htdocs folder which is on Your_Apache_Folder(c:\htdocs)<br />
18. Copy xampp folder and pest it to Your_Apache_Folder /tomcat/webapp directory<br />
19. Open a browser and type address http://localhost/xampp<br />
20. You will see welcome screen of Xampp choose your language<br />
21. Click on security<br />
22. You will see unsecure status for PhpMyadmin,Admin root<br />
Click on http://localhost/security/xamppsecurity.php<br />
23. Setup password for mysql and click &#8220;Password changing&#8221;<br />
Setup password for xampp and click &#8220;Make safe the xampp directory&#8221;<br />
24. Go back to Security this time you will see a window which will ask for username password give your xampp username and password<br />
25. Now you will see status is changed to secure.<br />
26. You will see a message that Php is running on safe mode.<br />
Stop Apache and Mysql from xampp-control<br />
27.Open apache/bin/php.ini<br />
Search safe_mode.By default it is Off change it to on and save that.<br />
28.Restart the server.goto http://localhost/xampp.click on Security now everything is secure.<br />
29.Now copy xmapp from htdocs and pest it to tomcat/webapp/xampp for security to take effect<br />
Stop the server.<br />
30. Open apache/conf/extra/ mod_jk.conf<br />
Now add the fllowing line in mod_jk.Where &#8220;helloworld&#8221; is your j2ee project and present in tomcat/webapp.<br />
jkMount /helloworld/* ajp13<br />
31. Start tomcat by executing tomcat_start.bat<br />
32. Start apach.Goto web browser and type http://localhost/helloword/index.jsp</p>
<p>Now Enjoy Tomcat-Apache .</p>
<br />Posted in Tomcat Tagged: apache, Tomcat <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/surajchhetry.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/surajchhetry.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/surajchhetry.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=surajchhetry.wordpress.com&amp;blog=5399733&amp;post=3&amp;subd=surajchhetry&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://surajchhetry.wordpress.com/2008/11/04/tomcat-apache-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/60dcd9b481a2a0f97c92af503843091d?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">suraj</media:title>
		</media:content>
	</item>
	</channel>
</rss>
