<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Randy Johnson&apos;s Coldfusion Blog - Apache</title>
			<link>http://www.cfedge.com/index.cfm</link>
			<description>Randy Johnson&apos;s Coldfusion Blog</description>
			<language>en-us</language>
			<pubDate>Sat, 31 Jul 2010 14:35:29-0400</pubDate>
			<lastBuildDate>Mon, 08 Jun 2009 22:10:00-0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>randy@ewebpc.com</managingEditor>
			<webMaster>randy@ewebpc.com</webMaster>
			
			
			
			
			
			<item>
				<title>Installing Railo on CentOS with Apache</title>
				<link>http://www.cfedge.com/index.cfm/2009/6/8/Installing-Railo-on-CentOS-with-Apache</link>
				<description>
				
				I will add more to this later but wanted to write down these core steps before I forgot them. Hopefully this will save you some, since the other documentation I have found is mainly for installing Railo on Ubuntu Server.

Here are the steps on how I was able to generate the mod_caucho.so  on CentOS for Apache.


1.  I installed the package &quot;httpd-devel&quot; via Yum

2. In the Railo Directory  I ran the following Commands:
&lt;code&gt;
./configure --with-apache=/usr/include/httpd

make

make install
&lt;/code&gt;
3. That automatically put the mod_caucho.so into the /etc/httpd/modules directory


4.  I then added this to the /etc/httpd/conf/httpd.conf file
&lt;code&gt;
LoadModule caucho_module modules/mod_caucho.so
&lt;/code&gt;
I also added this right below the LoadModule
&lt;code&gt;
ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
CauchoStatus yes
&lt;/code&gt;

5.  I then restarted apache.

6.  In resin.conf I added this line:
&lt;code&gt;
&lt;host id=&quot;mydomain.com&quot;&gt; 
       &lt;web-app id=&quot;/&quot; document-directory=&quot;/home/randy/mydomain.com&quot;/&gt;
       &lt;host-alias&gt;www.mydomain.com&lt;/host-alias&gt;
        
&lt;/host&gt;
&lt;/code&gt;
7.  When you save  Railo will restart automatically.

To get Railo to not restart automatically change this line:
&lt;code&gt;
&lt;dependency-check-interval&gt;2s&lt;/dependency-check-interval&gt;

to
&lt;dependency-check-interval&gt;-1&lt;/dependency-check-interval&gt;
&lt;/code&gt;

You still have to follow the instructions to finish up the configuration.  The PDF I am following is:

&lt;a href=&quot;http://railo.ch/railo/documentation/InstallGuide_Railo_Resin_Apache_Linux.pdf&quot; target=&quot;_blank&quot;&gt; Railo Apache Install Guide&lt;/a&gt;
				
				</description>
						
				
				<category>Linux</category>				
				
				<category>CFML</category>				
				
				<category>Apache</category>				
				
				<category>Railo</category>				
				
				<pubDate>Mon, 08 Jun 2009 22:10:00-0400</pubDate>
				<guid>http://www.cfedge.com/index.cfm/2009/6/8/Installing-Railo-on-CentOS-with-Apache</guid>
				
			</item>
			
		 	
			</channel></rss>