Apache, Typo, and Feedburner
A few weeks ago, I started using FeedBurner and posted a blog entry about how I configured Lighttpd to handle that so it didn’t disrupt everyone that subscribes to my RSS feed. This was working great… until the other day.. when I upgraded to Typo trunk. When I did this, I decided to start using mongrel::cluster and pound. Two days later… I’m noticing that my subscriber count has dropped over thousand people in a day… was it something that I said?
A ha! I was handling the redirect with Lighttpd and had replaced it with Pound.
So, I am now delegating this to Apache.
# Redirect typo feeds to FeedBurner
RewriteCond %{HTTP_USER_AGENT} !^FeedBurner.*$
RewriteRule /xml/(atom|rss|rss20)/feed.xml$ http://feeds.feedburner.com/RobbyOnRails [R=temp,L]
...and all was well again.
UPDATE
The rewrite condition should be !^FeedBurner.*$
not !^FeedBurner$
.