<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to use a Rails App with HTTPS</title>
	<atom:link href="http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 06 Jan 2009 03:33:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Jeff</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-210</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 09 Jan 2008 19:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-210</guid>
		<description>Is it possible to have Apache reverse proxy SSL for 2 different Rails sites running on the same server?

In other words, https://a.domain.com and https://b.domain.com both being served by the same Apache server with a wildcard certificate?</description>
		<content:encoded><![CDATA[<p>Is it possible to have Apache reverse proxy SSL for 2 different Rails sites running on the same server?</p>
<p>In other words, <a href="https://a.domain.com" rel="nofollow">https://a.domain.com</a> and <a href="https://b.domain.com" rel="nofollow">https://b.domain.com</a> both being served by the same Apache server with a wildcard certificate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajey</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-212</link>
		<dc:creator>Ajey</dc:creator>
		<pubDate>Mon, 07 Jan 2008 19:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-212</guid>
		<description>Hi,

Is it possible to set up rails applications using only Apache web server? Would appreciate any insight into this.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is it possible to set up rails applications using only Apache web server? Would appreciate any insight into this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syntaxius</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-215</link>
		<dc:creator>Syntaxius</dc:creator>
		<pubDate>Mon, 07 Jan 2008 00:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-215</guid>
		<description>LOL, I did look in my router and opend up 443, and everything worked after that. Thanks for the tips!</description>
		<content:encoded><![CDATA[<p>LOL, I did look in my router and opend up 443, and everything worked after that. Thanks for the tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syntaxius</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-211</link>
		<dc:creator>Syntaxius</dc:creator>
		<pubDate>Sun, 06 Jan 2008 23:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-211</guid>
		<description>Anton, I have the same exact problem as you. Can you please describe exactly what was your problem with your firewall and router and how you solved it!

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Anton, I have the same exact problem as you. Can you please describe exactly what was your problem with your firewall and router and how you solved it!</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-217</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Sun, 06 Jan 2008 15:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-217</guid>
		<description>I found the reason for the problem. It was a tricky router firewall configuration mistake. Now it works :-)
Thanks Jamie,
for the support with your good will to help!
:-)</description>
		<content:encoded><![CDATA[<p>I found the reason for the problem. It was a tricky router firewall configuration mistake. Now it works <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Thanks Jamie,<br />
for the support with your good will to help! <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-214</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Sat, 05 Jan 2008 21:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-214</guid>
		<description>Hi Jamie,

thanks for your thoughts. I found out that my apache is reachable by xxx.dyndns.com from outside as long I dont use the ssl virtual host of my httpd-ssl. By reconfigurating the apache I discovered that my mongrel server, my rails application and my firewall is not reason for situation.
So it can only be something in the httpd.conf, the httpd-ssl or something with the ssl-certificate.
Unfortuantely I am not a specialist for apache ...
Thanks Jamie, for your suggestions but I will run the application on my homeserver. Thats at least the plan :-)
Anton :-)</description>
		<content:encoded><![CDATA[<p>Hi Jamie,</p>
<p>thanks for your thoughts. I found out that my apache is reachable by xxx.dyndns.com from outside as long I dont use the ssl virtual host of my httpd-ssl. By reconfigurating the apache I discovered that my mongrel server, my rails application and my firewall is not reason for situation.<br />
So it can only be something in the httpd.conf, the httpd-ssl or something with the ssl-certificate.<br />
Unfortuantely I am not a specialist for apache &#8230;<br />
Thanks Jamie, for your suggestions but I will run the application on my homeserver. Thats at least the plan <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Anton <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-207</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 03 Jan 2008 17:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-207</guid>
		<description>Hello Anton,
Glad you found it useful.

Regarding your issue.

The above article is geared towards those who want to test there RoR app on their local server that requires https access.
Hence as you have found
"With localhost or the domainname in the hosts-file everything works fine"

It will work from localhost but will not be accessible from the internet.

If you want your app accessible from the internet via your domain name, you would need to set the DNS for that domain to resolve to the IP address of your server vgiven to you by your IP. You'll really need a static IP address.

However from what you describe you are runninng apache + ruby on rails on a localhost machine. Is this machine your own personal machine or a dedicated server?

If it's your own personal machine and not a 'proper' (for want of a better word) server I'd recommend purchasing ruby on rails enabled hosting package. EG in Ireland, this hosting company call  Blackknight offer a RoR package. http://www.blacknight.ie/ruby-on-rails.0.html

You'll find plenty of other RoR hosting providers on the web.

They provide the server with Apache + https etc and ruby on rails already set up(or maybe just ruby no certain :-/) and you can load your app onto that server. You'll need to point the DNS of your IP to this new hosting.

Apologises if I have misunderstood your questions!!

How this helps
:-)
Jamie</description>
		<content:encoded><![CDATA[<p>Hello Anton,<br />
Glad you found it useful.</p>
<p>Regarding your issue.</p>
<p>The above article is geared towards those who want to test there RoR app on their local server that requires https access.<br />
Hence as you have found<br />
&#8220;With localhost or the domainname in the hosts-file everything works fine&#8221;</p>
<p>It will work from localhost but will not be accessible from the internet.</p>
<p>If you want your app accessible from the internet via your domain name, you would need to set the DNS for that domain to resolve to the IP address of your server vgiven to you by your IP. You&#8217;ll really need a static IP address.</p>
<p>However from what you describe you are runninng apache + ruby on rails on a localhost machine. Is this machine your own personal machine or a dedicated server?</p>
<p>If it&#8217;s your own personal machine and not a &#8216;proper&#8217; (for want of a better word) server I&#8217;d recommend purchasing ruby on rails enabled hosting package. EG in Ireland, this hosting company call  Blackknight offer a RoR package. <a href="http://www.blacknight.ie/ruby-on-rails.0.html" rel="nofollow">http://www.blacknight.ie/ruby-on-rails.0.html</a></p>
<p>You&#8217;ll find plenty of other RoR hosting providers on the web.</p>
<p>They provide the server with Apache + https etc and ruby on rails already set up(or maybe just ruby no certain :-/) and you can load your app onto that server. You&#8217;ll need to point the DNS of your IP to this new hosting.</p>
<p>Apologises if I have misunderstood your questions!!</p>
<p>How this helps <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-209</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Sat, 29 Dec 2007 11:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-209</guid>
		<description>I wished I would have seen your website earlier. That would have saved me a lot of time.
My question to you:
Is your https://mydomain.com really reachable from internet?

I tested it with my computer. With localhost or the domainname in the hosts-file everything works fine but not over the internet. I have my domain at dyndns.com
Could that be the reason for the problem?

Your answer is very appreciated :-)</description>
		<content:encoded><![CDATA[<p>I wished I would have seen your website earlier. That would have saved me a lot of time.<br />
My question to you:<br />
Is your <a href="https://mydomain.com" rel="nofollow">https://mydomain.com</a> really reachable from internet?</p>
<p>I tested it with my computer. With localhost or the domainname in the hosts-file everything works fine but not over the internet. I have my domain at dyndns.com<br />
Could that be the reason for the problem?</p>
<p>Your answer is very appreciated <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lanny</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-208</link>
		<dc:creator>Lanny</dc:creator>
		<pubDate>Fri, 14 Dec 2007 22:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-208</guid>
		<description>Thanks for the great article!  Saved me a ton of time.</description>
		<content:encoded><![CDATA[<p>Thanks for the great article!  Saved me a ton of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-213</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 08 Nov 2007 12:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.weeatbricks.com/2007/10/31/how-to-use-a-rails-app-with-https/#comment-213</guid>
		<description>Hi Martin,

yes the config line
RequestHeader set X_FORWARDED_PROTO “https”
seems to pass the https onto the mongrel server, so that server is aware that the https protocol is in use.

Thanks for the correction too :-)</description>
		<content:encoded><![CDATA[<p>Hi Martin,</p>
<p>yes the config line<br />
RequestHeader set X_FORWARDED_PROTO “https”<br />
seems to pass the https onto the mongrel server, so that server is aware that the https protocol is in use.</p>
<p>Thanks for the correction too <img src='http://weeatbricks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
