<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Testing Typo on Lighttpd</title>
    <link>http://www.robbyonrails.com/articles/2005/06/18/testing-typo-on-lighttpd</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>Testing Typo on Lighttpd</title>
      <description>&lt;p&gt;did my xml stop working? doesn&amp;#8217;t seem to be updating&amp;#8230;&lt;/p&gt;


	&lt;p&gt;&lt;b&gt;edit&lt;/b&gt;:
no, apparently with &lt;a href="http://www.lighttpd.net/"&gt;lighttpd&lt;/a&gt;, I needed to add a few rewrites. It looks like &lt;a href="http://typo.leetsoft.com/"&gt;Typo&lt;/a&gt; made some changes to their rss paths a while ago (after &lt;a href="http://www.planetrubyonrails.org"&gt;planet rubyonrails&lt;/a&gt; and other places started using my rss feed for syndication). So, I added the following to my lighttpd.conf to allow those to still work.&lt;/p&gt;


&lt;code&gt;
&lt;pre&gt;
url.rewrite = (
    "^/xml/rss/feed.xml$" =&amp;gt; "/xml/rss/feed",
    "^/xml/atom/feed.xml$" =&amp;gt; "/xml/atom/feed" )
&lt;/pre&gt;
&lt;/code&gt;

	&lt;p&gt;Okay, after taking a minute to test this. I have now simplified this to:&lt;/p&gt;


&lt;code&gt;
&lt;pre&gt;
url.rewrite = (
    "^/xml/(.*)/feed.xml$" =&amp;gt; "/xml/$1/feed")
&lt;/pre&gt;
&lt;/code&gt;
</description>
      <pubDate>Sat, 18 Jun 2005 13:54:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:06bda11be813ba3e09db8641b31bbedd</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/06/18/testing-typo-on-lighttpd</link>
      <category>Off-Topic</category>
    </item>
  </channel>
</rss>
