<?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>Enterprise Architecture and Development</title>
	<atom:link href="http://datakix.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://datakix.wordpress.com</link>
	<description>Plan the work and work the plan</description>
	<lastBuildDate>Tue, 09 Nov 2010 02:47:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='datakix.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Enterprise Architecture and Development</title>
		<link>http://datakix.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://datakix.wordpress.com/osd.xml" title="Enterprise Architecture and Development" />
	<atom:link rel='hub' href='http://datakix.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting up a self-signed certificate on IIS7</title>
		<link>http://datakix.wordpress.com/2010/11/09/setting-up-a-self-signed-certificate-on-iis7/</link>
		<comments>http://datakix.wordpress.com/2010/11/09/setting-up-a-self-signed-certificate-on-iis7/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 02:47:13 +0000</pubDate>
		<dc:creator>datakix</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[ssl self signed certificates]]></category>

		<guid isPermaLink="false">http://datakix.wordpress.com/?p=176</guid>
		<description><![CDATA[[Video coming soon] &#8212;&#8212;&#8212;- Import Server CA &#8212;&#8212;&#8212;- 1. Open the MySSLCert folder (C:\MySSLCert\) 2. Right-click on ca.crt 3. Select &#8216;Install Certificate&#8217; 4. Click &#8216;Next &#62;&#8217; on the Welcome screen 5. Select the &#8216;Place all certificaes in the following store&#8217; option 6. Click the &#8216;Browse&#8230;&#8217; button 7. Check the &#8216;Show physical stores&#8217; checkbox 8. Select [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=176&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[Video coming soon]</p>
<p><strong>&#8212;&#8212;&#8212;- Import Server CA &#8212;&#8212;&#8212;-</strong><br />
1. Open the MySSLCert folder (C:\MySSLCert\)<br />
2. Right-click on ca.crt<br />
3. Select &#8216;Install Certificate&#8217;<br />
4. Click &#8216;Next &gt;&#8217; on the Welcome screen<br />
5. Select the &#8216;Place all certificaes in the following store&#8217; option<br />
6. Click the &#8216;Browse&#8230;&#8217; button<br />
7. Check the &#8216;Show physical stores&#8217; checkbox<br />
8. Select the Trusted Root Certication Authorities folder<br />
8b. Select Local Computer<br />
9. Click the &#8216;OK&#8217; button<br />
10. Click the &#8216;Next &gt;&#8217; button<br />
11. Click the &#8216;Finish&#8217; button</p>
<p><strong>&#8212;&#8212;&#8212;- Import Server Cert in IIS7 &#8212;&#8212;&#8212;-</strong><br />
1. Open IIS Manager (inetmgr)<br />
2. Select Server properties (first node)<br />
3. Select Features View (bottom-left of content window) if not already selected<br />
4. Open the Server Certificates Feature in the IIS section<br />
5. Select the &#8216;Import&#8217; action (in the upper right pane)<br />
6. Select the server.pfx file (C:\MySSLCert\server.pfx)<br />
7. Type the server certificate password<br />
8. Click the &#8216;OK&#8217; button</p>
<p><strong>Now it&#8217;s time to add the site binding for the https (SSL) protocol. We&#8217;ll use the<br />
default port (443) and select our certificate from the IIS certificate store.</strong></p>
<p>9. Select the Default Web Site<br />
10. In the Actions column, click the &#8216;Bindings&#8230;&#8217; link<br />
11. In the Site Bindings dialog, select the &#8216;Add&#8230;&#8217; button<br />
12. In the Add Site Binding dialog, select the &#8216;https&#8217; option from the &#8216;Type&#8217; drop down list<br />
13. In the Add Site Binding dialog, select the &#8216;MyTestCert&#8217; option from the &#8216;SSL certificate&#8217; drop down list<br />
14. Click the &#8216;Close&#8217; button<br />
<strong><br />
&#8212;&#8212;&#8212;- Test &#8212;&#8212;&#8212;-</strong><br />
In IE, Go to: https://localhost/test.txt</p>
<p>[Video coming soon]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/datakix.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/datakix.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/datakix.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=176&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://datakix.wordpress.com/2010/11/09/setting-up-a-self-signed-certificate-on-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a51ee674a6523423261ddd9836a8ddd2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">datakix</media:title>
		</media:content>
	</item>
		<item>
		<title>How to setup a self signed SSL certificate on IIS6 using OpenSSL on a Windows 2003 server</title>
		<link>http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/</link>
		<comments>http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 16:41:00 +0000</pubDate>
		<dc:creator>datakix</dc:creator>
				<category><![CDATA[OpenSSL]]></category>

		<guid isPermaLink="false">http://datakix.wordpress.com/?p=161</guid>
		<description><![CDATA[Per request, I threw together a couple of quick videos on this topic: Part 1 of 3 Part 2 of 3 STEP 1. &#8211;&#62; openssl genrsa -des3 -out server.key 2048 The &#8216;genrsa&#8217; command generates a 2048 bit RSA private key with a triple DES cipher. STEP 2. &#8211;&#62; openssl req -new -key server.key -out server.csr [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=161&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Per request, I threw together a couple of quick videos on this topic:</p>
<p><strong>Part 1 of 3</strong><br />
<span style="text-align:center; display: block;"><a href="http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/"><img src="http://img.youtube.com/vi/aO0KxzigeLY/2.jpg" alt="" /></a></span></p>
<p><strong>Part 2 of 3</strong><br />
<span style="text-align:center; display: block;"><a href="http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/"><img src="http://img.youtube.com/vi/syWdPfOMJaQ/2.jpg" alt="" /></a></span></p>
<p><strong>STEP 1. &#8211;&gt;</strong> openssl genrsa -des3 -out server.key 2048<br />
The &#8216;genrsa&#8217; command generates a 2048 bit RSA private key with a triple DES cipher.</p>
<p><strong>STEP 2. &#8211;&gt;</strong> openssl req -new -key server.key -out server.csr<br />
The &#8216;req&#8217; command creates and processes certificate requests. In this statement the &#8216;req&#8217; command will<br />
create a new certificate request file name server.csr using the private.key file generated in the previous step.</p>
<p>Now that we&#8217;ve created a CSR (Certificate signing request), we need to self-sign the request. Normally, you would pay a trusted 3rd party security company such as Verisign, Thawte (Pronounced &#8220;Thought&#8221;), GeoTrust, or GoDaddy to process/sign your certificate request file and return you a signed certificate that you&#8217;d install on your web server or load balancer. In this case, we&#8217;re going to self-sign the certifice, in essence becoming our own Certificate Authority.</p>
<p><strong>STEP 3. &#8211;&gt;</strong> openssl genrsa -des3 -out ca.key 2048<br />
The &#8216;genrsa&#8217; command generates a 2048 bit RSA private key with a triple DES cipher.</p>
<p><strong>STEP 4. &#8211;&gt;</strong> openssl req -new -x509 -days 365 -key ca.key -out ca.crt<br />
This command creates a self signed Certificate Authority certificate using the RSA private key generated in the previous step.</p>
<p><strong>STEP 5. &#8211;&gt;</strong> openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt<br />
This command will sign the server certificate request file (from STEP. 2) and output a self signed certificate file that is valid for 365 days.</p>
<p><strong>STEP 6. &#8211;&gt;</strong> openssl pkcs12 -export -in server.crt -inkey server.key -out server.pfx -name &#8220;MyTestCert&#8221;<br />
This command will convert the server certificate from PEM Format (or ASCII format) to PFX Format (Microsoft binary format)<br />
However, the tradeoff is that this command does expose your CAs private key, so just be aware of that.</p>
<p><strong>Part 3 of 3</strong><br />
<span style="text-align:center; display: block;"><a href="http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/"><img src="http://img.youtube.com/vi/5aJGtwBsVRg/2.jpg" alt="" /></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/datakix.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/datakix.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/datakix.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=161&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://datakix.wordpress.com/2010/10/31/how-to-setup-a-self-signed-ssl-certificate-on-iis6-using-openssl-on-a-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a51ee674a6523423261ddd9836a8ddd2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">datakix</media:title>
		</media:content>
	</item>
		<item>
		<title>DIY for SSL</title>
		<link>http://datakix.wordpress.com/2010/10/31/diy-for%c2%a0ssl/</link>
		<comments>http://datakix.wordpress.com/2010/10/31/diy-for%c2%a0ssl/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 00:50:29 +0000</pubDate>
		<dc:creator>datakix</dc:creator>
				<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[ssl self signed certificates]]></category>

		<guid isPermaLink="false">http://datakix.wordpress.com/?p=154</guid>
		<description><![CDATA[Over the last few years IT departments have been required to decrease the cost of developing applications (b/c of the soft economy) and increase application security measures (b/c of Sarbanes-Oxley (SOX), PCI Security Standards, PII audits, etc..) without affecting overall quality. One of the most common measures for developing secure web applications is to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=154&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over the last few years IT departments have been required to decrease the cost of developing applications (b/c of the soft economy) and increase application security measures (b/c of Sarbanes-Oxley (SOX), PCI Security Standards, PII audits, etc..) without affecting overall quality. One of the most common measures for developing secure web applications is to use a Secure Socket Layer (SSL) certificate which creates an encrypted channel for private communication over a network.</p>
<p>In the not too far past, IT departments would often purchase several SSL certificates for multiple environments (i.e. QA, staging, and production) in order to ensure consistent application behavior.  However, with some security companies selling SSL certificates for up to $1000.00 each, such costs can quickly deplete a constrained budget. So, why are some SSL certificates so costly and what’s an alternative to bring down development costs?</p>
<p>Given that most security companies follow the same industry standard protocol for implementation of Secure Socket Layer (SSL), the company’s brand reputation is really the biggest factor in the cost of SSL certificates. The more popular / well marketed brands tend to charge more because research shows that websites bearing their logo yield increased click-through rates and sales. Unfortunately, the intangible cost of on-line consumer confidence is often over-looked because many companies tend to comparison shop by one factor, price, which leads them down the path of purchasing less expensive certificates. Cheaper isn’t always better.</p>
<p>For those looking to reduce budget costs and to increase security measures, I recommend a partial DIY (do-it-yourself) approach. Start by generating your own high-bit (2048), self-signed certificates for non-production environments and purchasing Extended Validation Certificates (aka, the green bar certificates) for production environments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/datakix.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/datakix.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/datakix.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=154&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://datakix.wordpress.com/2010/10/31/diy-for%c2%a0ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a51ee674a6523423261ddd9836a8ddd2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">datakix</media:title>
		</media:content>
	</item>
		<item>
		<title>Hosting Ruby on Rails on GoDaddy &#8211; Solved</title>
		<link>http://datakix.wordpress.com/2008/07/20/hosting-ruby-on-rails-on-godaddy-solved/</link>
		<comments>http://datakix.wordpress.com/2008/07/20/hosting-ruby-on-rails-on-godaddy-solved/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 18:22:54 +0000</pubDate>
		<dc:creator>datakix</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://datakix.wordpress.com/?p=3</guid>
		<description><![CDATA[Hello all, I know how very challenging it can be to host a ROR application on GoDaddy. The good news is that after 10 days of blood, sweat and tears, I finally got it to work!!! First, let me start by saying that I&#8217;m somewhat of a newbie to Rails. However, I&#8217;ve been programming in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=3&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>I know how very challenging it can be to host a ROR application on GoDaddy. The good news is that after 10 days of blood, sweat and tears, I finally got it to work!!!</p>
<p>First, let me start by saying that I&#8217;m somewhat of a newbie to Rails. However, I&#8217;ve been programming in Java and/or C# for the last 10+ years so I&#8217;ve been around the block a couple times when it comes to this stuff. Secondly, this was undoubtedly one of the most challenging development tasks I&#8217;ve undertaken this year, so please don&#8217;t feel bad if you didn&#8217;t get it to work the first 10 attempts because it took me waaaaay more than that!. Well, with that said, I&#8217;m sure you&#8217;re eager to get to the how-to so let&#8217;s do it.</p>
<p>Right now, I&#8217;d love to write a few paragraphs on how GoDaddy&#8217;s Ruby on Rails support and documentation is abominal, but that would only be preaching to the choir&#8230; Instead, let&#8217;s make some lemonade <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>One more thing, please forgive and typing/spelling errors, I&#8217;m writing this in Notepad.</p>
<p>My Setup<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
- Linux Deluxe Plan<br />
- Windows Vista<br />
- Ruby 1.8.5-22 Final (http://rubyforge.org/frs/?group_id=167)<br />
- Gem 0.9.2<br />
- Rails 1.1.6 (I know you&#8217;re looking for 2.0 bare w/me)<br />
- FileZilla 3.0.11.1 (filezilla-project.org)<br />
- Subversion 1.4.5 (http://subversion.tigris.org/)</p>
<p>Tip &#8211; On Vista and XP, if you uninstall a version of Ruby, restart your computer before reinstalling another version of Ruby, otherwise the Environment Variables won&#8217;t get set properly.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Installing Rails<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Ok, here is where I was REALLY confused early on, mostly because I didn&#8217;t understand terminology (i.e. what is a RubyGem, what does freeezing a Gem do). I was also really confused by GoDaddy&#8217;s documentation. In some places, they claim to support Rails 1.1.2, in others it&#8217;s 1.1.6. Anyway, to correctly install Rails for version 1.1.6:</p>
<p>1. Run the Ruby185-22.exe installer.<br />
2. Open a command prompt and type: gem install rails &#8211;version 1.1.6</p>
<p>That&#8217;s it. [DO NOT download RubyGems 1.2.0 (or any other version) and then run "ruby setup.rb"!!!! Same goes for any other version of Rails, don't do it.]</p>
<p>To ensure you&#8217;ve setup everything correctly, let&#8217;s check the ROR component&#8217;s versions:</p>
<p>C:\Development\Projects\Ruby&gt;ruby -v<br />
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]</p>
<p>C:\Development\Projects\Ruby&gt;gem -v<br />
0.9.2</p>
<p>C:\Development\Projects\Ruby&gt;rails -v<br />
Rails 1.1.6</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Installing Subversion<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Go ahead and install Subversion if you already haven&#8217;t. It&#8217;s a version control system like CVS or Visual Source Safe.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Creating a test project<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&#8211; Let&#8217;s keep it simple and create helloworld</p>
<p>C:\Development\Projects\Ruby&gt;rails helloworld</p>
<p>create<br />
create  app/controllers<br />
create  app/helpers<br />
&#8230;<br />
&#8230;</p>
<p>&#8211; Change to the helloworld directory</p>
<p>C:\Development\Projects\Ruby&gt;cd helloworld</p>
<p>&#8211; Create a controller and some basic actions</p>
<p>C:\Development\Projects\Ruby\helloworld&gt;ruby script\generate controller Say hello</p>
<p>./script/../config/boot.rb:28:Warning: require_gem is obsolete.  Use gem instead<br />
.<br />
exists  app/controllers/<br />
exists  app/helpers/<br />
create  app/views/say<br />
exists  test/functional/<br />
create  app/controllers/say_controller.rb<br />
create  test/functional/say_controller_test.rb<br />
create  app/helpers/say_helper.rb<br />
create  app/views/say/hello.rhtml</p>
<p>&#8211; Ok, let see if it works</p>
<p>C:\Development\Projects\Ruby\helloworld&gt;ruby script/server</p>
<p>./script/../config/boot.rb:28:Warning: require_gem is obsolete.  Use gem instead<br />
.<br />
=&gt; Booting WEBrick&#8230;<br />
=&gt; Rails application started on http://0.0.0.0:3000<br />
=&gt; Ctrl-C to shutdown server; call with &#8211;help for options<br />
[2008-07-18 22:54:52] INFO  WEBrick 1.3.1<br />
[2008-07-18 22:54:52] INFO  ruby 1.8.5 (2006-12-25) [i386-mswin32]<br />
[2008-07-18 22:54:52] INFO  WEBrick::HTTPServer#start: pid=3680 port=3000<br />
127.0.0.1 &#8211; - [18/Jul/2008:22:55:11 Eastern Daylight Time] &#8220;GET / HTTP/1.1&#8243; 200<br />
7552</p>
<p>&#8211; Open a browser to: http://localhost:3000/Say/hello</p>
<p>Say#hello</p>
<p>Find me in app/views/say/hello.rhtml</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Preparing for launch to GoDaddy<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Ok, just to quickly recap, all we&#8217;ve done so far is to install ROR, Subversion and create a very simple Rails app &#8211; nothing special. Everything is working locally, so now it&#8217;s time to prepare for FTPing to GoDaddy. This is another area where I was REALLY confused initially. So before we go any further I&#8217;m going to outline and explain what we&#8217;re going to do and why.</p>
<p>1. Freeze the application. When you &#8220;freeze&#8221; a Rails app, your application will always use that version of Rails and the associated Ruby Gems, regardless of what version is installed on the GoDaddy server. In essence, even though GoDaddy only supports version 1.1.6, by &#8216;freezing&#8217; your application, you literally bundle your entire local environment into your application. So theoretically, you can run version 2.x.x if you &#8216;freeze&#8217; your application before deploying. Note, I have not tried this as of yet, but I do have a &#8216;frozen&#8217; version of Rails 1.2.6 running on GoDaddy. So if 1.2.6 runs, then it&#8217;s very likely 2.x.x will run as well as long as it&#8217;s frozen.</p>
<p>2. Make a copy of the helloworld application and rename it helloworld_godaddy.<br />
This is a best practice for me because it allows me to have a working version of my app running on Vista and a &#8216;ready to promote&#8217; version for the Linux server.</p>
<p>3. Configure some files in the /public and /config directory for use on GoDaddy.</p>
<p>EASY as 1-2-3&#8230;..</p>
<p>Ok, go ahead and stop the WEBrick server by typing Ctrl C</p>
<p>First, let&#8217;s Freeze our application to version 1.1.6<br />
C:\Development\Projects\Ruby\helloworld&gt;rake rails:freeze:edge TAG=rel_1-1-6<br />
[**** Note: this may take 30+ seconds ****]</p>
<p>Second, copy of the helloworld application and rename it helloworld_godaddy</p>
<p>Finally, we need to edit some files in our helloworld_godaddy directory.</p>
<p>&#8211;&gt; /config/environment.rb<br />
Edit the top section of /config/environment.rb to look like this:</p>
<p>ENV['RAILS_ENV'] ||= &#8216;development&#8217;</p>
<p># Specifies gem version of Rails to use when vendor/rails is not present<br />
ENV['GEM_HOME'] = &#8216;/usr/local/lib/ruby/gems-dev/1.8&#8242;<br />
RAILS_GEM_VERSION = &#8217;1.1.6&#8242;</p>
<p>&#8211;&gt; /public/dispatch.rb, dispatch.cgi, and dispatch.fcgi<br />
Edit the first line in all of the dispatch files to look like this:</p>
<p>#!/usr/local/bin/ruby</p>
<p>&#8211;&gt; /public/.htaccess</p>
<p>Ok, a brief pause is needed here to explain some things. .htaccess files are generally used for many reasons, but it&#8217;s common in shared hosting for these files to be used to redirect to a subdirectory preventing users from knowing the real location of your application on a server. GoDaddy uses a &#8216;Symbolic Link name&#8217; which is really just an &#8216;alias&#8217;. So in our case we&#8217;re going to create a subdirectory called &#8216;helloworld_godaddy&#8217; and a Symbolic Link name of &#8216;helloworld&#8217;.<br />
So all this means is that when a user goes to http://www.mywebsite.com/helloworld, they&#8217;re actually referencing the data and files from the helloworld_godaddy subdirectory. The most important thing to know about this file is that it should contain a &#8216;RewriteBase&#8217; directive which explicitly sets the base URL for per-directory rewrites. So in our case we want the base URL to be rewritten as &#8216;helloworld&#8217;. Another useful tip is to use the .fcgi (FastCGI) protocol; this is done by simply changing the .cgi extensions to .fcgi.</p>
<p>Edit the middle section of the .htaccess file to look like this:</p>
<p>RewriteBase /helloworld<br />
RewriteRule ^$ index.html [QSA]</p>
<p>RewriteRule ^([^.]+)$ $1.html [QSA]</p>
<p>RewriteCond %{REQUEST_FILENAME} !-f</p>
<p>RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]</p>
<p>Ok, now we&#8217;re almost there! The last part is the easiest <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Lock and Load<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Log into your GoDaddy account and open up the CGI Admin tool.</p>
<p>In the &#8216;Directory name:&#8217; textbox, type my_rails_apps. GoDaddy will automatically create an .htaccess file in the new directory. Open the file and change<br />
dispatch.cgi to dispatch.fcgi. [Note: This step is not necessary]</p>
<p>Open up FileZilla and connect to your GoDaddy root directory. Double click the my_rails_apps directory.</p>
<p>In the Filezilla toolbar, select Edit &#8211;&gt; Settings &#8211;&gt; FileTypes and change the Default transfer type to ASCII.</p>
<p>Select your helloworld_godaddy directory, right click and select upload. *** IMPORTANT STEP ***</p>
<p>[Note: this process will take about 2-3 minutes]</p>
<p>(If you&#8217;re new to the GoDaddy admin tool, you&#8217;ll need to create an FTP user by going to Hosting Control Center &#8211;&gt; Settings &#8211;&gt; Manage FTP settings)<br />
(To figure out your FTP URL, username and password, go to Hosting Control Center &#8211;&gt; Content &#8211;&gt; FTP Client &#8211;&gt; Click Disconnect, then Connect)<br />
(Make sure you turn on your error logs, go to Hosting Control Center &#8211;&gt; Settings &#8211;&gt; Error Logs &#8211;&gt; click the &#8216;Update&#8217; button)</p>
<p>Ok, now go back to the CGI Admin tool and select the &#8216;Ruby&#8217; tag or refresh the page.</p>
<p>In the Create Rails Symbolic Link section, click the Show Rails &#8216;Applications link&#8217;.</p>
<p>If all went well, you should see &#8216;my_rails_apps/helloworld_godaddy&#8217; in the &#8216;Choose a rails app:&#8217; drop down box.</p>
<p>Enter a link name of &#8216;helloworld&#8217; (no quotes), then click the &#8216;Create&#8217; button.</p>
<p>[Link created: helloworld is a symbolic link to my_rails_apps/helloworld_godaddy]</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
LIFT OFF!!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The very last step is setting permissions.</p>
<p>Reconnect to your root directory via Filezilla and open up the /my_rails_apps/helloworld_godaddy/public directory.</p>
<p>Select the dispatch.cgi and dispatch.fcgi file, right click and select &#8216;file attributes&#8217;. Change the numeric value 644 to 755 and click the &#8216;Ok&#8217; button.</p>
<p>&#8211; Open a browser to: http://www.mysite.com/helloworld/say/hello [ALL LOWERCASE]</p>
<p>Say#hello</p>
<p>Find me in app/views/say/hello.rhtml</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>CONGRATULATIONS! You&#8217;ve done it.</p>
<p>For reference, I&#8217;ve uploaded a copy of the helloworld_godaddy directory to:</p>
<p>http://www.mediafire.com/?9pz114mjed1</p>
<p>In case these instructions don&#8217;t work for you, here are some instructions that helped me along my journey:</p>
<p>http://blog.mcmoyer.com/2007/9/14/running-rails-on-godaddy-a-k-a-how-do-you-keep-a-geek-entertained</p>
<p>http://www.ruby-forum.com/topic/104823</p>
<p>http://www.ruby-forum.com/topic/133394</p>
<p>http://www.littleredrails.com/blog/2008/01/26/setting-up-ruby-on-rails-with-godaddy/</p>
<p>http://www.rousette.org.uk/projects/forums/viewthread/13/#487</p>
<p>http://lists.rubyonrails.org/pipermail/rails/2006-July/056959.html</p>
<p>Hope this helps.</p>
<p>Bill Screen</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/datakix.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/datakix.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/datakix.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/datakix.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/datakix.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=datakix.wordpress.com&amp;blog=4276319&amp;post=3&amp;subd=datakix&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://datakix.wordpress.com/2008/07/20/hosting-ruby-on-rails-on-godaddy-solved/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a51ee674a6523423261ddd9836a8ddd2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">datakix</media:title>
		</media:content>
	</item>
	</channel>
</rss>
