<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: lighttpd configuration files for multiple rails apps</title>
	<atom:link href="http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/</link>
	<description></description>
	<lastBuildDate>Mon, 03 Aug 2009 20:21:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: greenpossum</title>
		<link>http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-325</link>
		<dc:creator>greenpossum</dc:creator>
		<pubDate>Wed, 21 Jan 2009 02:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-325</guid>
		<description>Thanks for this tip.

But I found that I had to use the $HTTP[&quot;host&quot;] matching against the virtual host name instead of $HTTP[&quot;url&#039;] matching against the first part of the path to make it work. Otherwise I got a 404 like Ryan did. Looking at the logs, it seems that aside from the top page, and maybe static pages (I don&#039;t know), the other requests went to the main host, not the virtual host. The condition log showed some requests for dispatch.cgi which were not matched by the virtual host.

I don&#039;t know if the lighttpd version has anything to do with it, I&#039;m running 1.4.20. I could have sworn it was working with &quot;url&quot; before a recent update.

If you use &quot;host&quot; matching, then be sure to specify &quot;ProxyPreserveHost on&quot; on the Apache side, otherwise lighttpd doesn&#039;t get the original Host: header.</description>
		<content:encoded><![CDATA[<p>Thanks for this tip.</p>
<p>But I found that I had to use the $HTTP["host"] matching against the virtual host name instead of $HTTP["url'] matching against the first part of the path to make it work. Otherwise I got a 404 like Ryan did. Looking at the logs, it seems that aside from the top page, and maybe static pages (I don&#8217;t know), the other requests went to the main host, not the virtual host. The condition log showed some requests for dispatch.cgi which were not matched by the virtual host.</p>
<p>I don&#8217;t know if the lighttpd version has anything to do with it, I&#8217;m running 1.4.20. I could have sworn it was working with &#8220;url&#8221; before a recent update.</p>
<p>If you use &#8220;host&#8221; matching, then be sure to specify &#8220;ProxyPreserveHost on&#8221; on the Apache side, otherwise lighttpd doesn&#8217;t get the original Host: header.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe&#8217;s Amazing Technicolor Weblog &#187; Blog Archive &#187; Deploying my first rails app</title>
		<link>http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-68</link>
		<dc:creator>Joe&#8217;s Amazing Technicolor Weblog &#187; Blog Archive &#187; Deploying my first rails app</dc:creator>
		<pubDate>Wed, 10 Jan 2007 04:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-68</guid>
		<description>[...] to this lighttpd configuration guide for pointing out that alias.url needs to be set as well for the public/ directory to be properly [...]</description>
		<content:encoded><![CDATA[<p>[...] to this lighttpd configuration guide for pointing out that alias.url needs to be set as well for the public/ directory to be properly [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-3</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 13 Jun 2006 20:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-3</guid>
		<description>This get&#039;s me to being able to access my static index.html in my app&#039;s public directory, but I just get 404 when I try to reacha controller.</description>
		<content:encoded><![CDATA[<p>This get&#8217;s me to being able to access my static index.html in my app&#8217;s public directory, but I just get 404 when I try to reacha controller.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freebsd + lighttpd + Typo^H^H^H^HWordPress</title>
		<link>http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-2</link>
		<dc:creator>freebsd + lighttpd + Typo^H^H^H^HWordPress</dc:creator>
		<pubDate>Sat, 01 Apr 2006 21:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/#comment-2</guid>
		<description>[...] First were my problems with lighttpd.conf and trying to get rails working with directory aliasing. After looking in a few places (here and here), thanks to technorati I finally found something else here that worked. [...]</description>
		<content:encoded><![CDATA[<p>[...] First were my problems with lighttpd.conf and trying to get rails working with directory aliasing. After looking in a few places (here and here), thanks to technorati I finally found something else here that worked. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
