Read my latest article: Planet Argon Blog (posted Wed, 17 Feb 2010 15:11:00 GMT)

Apache, Typo, and Feedburner

Posted by Robby Russell Fri, 08 Sep 2006 21:51:00 GMT

15 comments Latest by Ric Mon, 15 Dec 2008 13:40:59 GMT

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$.

Subscribe to my RSS feed Enjoying the content? Be sure to subscribe to my RSS feed.
Comments

Leave a response

  1. Avatar
    Ray Wed, 11 Jul 2007 21:51:28 GMT

    I restarted Apache, Mongrel and also cleared the cache in Typo, but it still gives me the original Typo feed URL, not the FeedBurner one. What am I missing?

  2. Avatar
    Ray Thu, 12 Jul 2007 17:22:10 GMT

    I fixed the problem. The scapegoat was the ordering of the rewrite rules…

  3. Avatar
    Davis Sat, 21 Jul 2007 05:32:03 GMT

    Thanks man, your update about !^FeedBurner.*$ save my time! ;-)

  4. Avatar
    Ethannvl Mon, 13 Aug 2007 17:05:07 GMT

    http://adqredwfedagg.host.com desk3 [url=http://adqsedwfedagg.host.com]desk4[/url] [link=http://adqaedwfedagg.host.com]desk6[/link]

  5. Avatar
    Maryinu Tue, 14 Aug 2007 12:46:59 GMT

    http://adbrffbfgfqsg.host.com desk3 [url=http://adbsffbfgfqsg.host.com]desk4[/url] [link=http://adbaffbfgfqsg.host.com]desk6[/link]

  6. Avatar
    payday laons Fri, 12 Oct 2007 22:07:21 GMT

    I also restarted Apache and also cleared the cache in Typo, but it still gives me the original Typo feed URL, not the FeedBurner one. What am I missing?

  7. Avatar
    levitra price Fri, 12 Oct 2007 22:35:40 GMT

    I fixed the problem. Search Rewrite – htaccess

  8. Avatar
    levitra price Fri, 12 Oct 2007 22:35:40 GMT

    I fixed the problem. Search Rewrite – htaccess

  9. Avatar
    Ric Fri, 07 Mar 2008 11:17:28 GMT

    Thanks for the tip. :-)

  10. Avatar
    Moving Companies Reviews Sat, 15 Mar 2008 21:41:22 GMT

    I’m considering switching to typo blog, since blogger just annoys me so much… I’m trying to decide between Wordpress and Typo, which do you think is better for a newbie?

  11. Avatar
    Moving Companies Reviews Sat, 15 Mar 2008 22:02:07 GMT

    I’m considering switching to typo blog, since blogger just annoys me so much… I’m trying to decide between Wordpress and Typo, which do you think is better for a newbie?

  12. Avatar
    Moving Companies Reviews Sat, 15 Mar 2008 22:02:57 GMT

    I’m considering switching to typo blog, since blogger just annoys me so much… I’m trying to decide between Wordpress and Typo, which do you think is better for a newbie?

  13. Avatar
    Sean from hosting review Fri, 25 Apr 2008 06:00:34 GMT

    not working for me :( i am using mod rewrite on that site, could that be an issue?

  14. Avatar
    Busby Test SEO Fri, 12 Dec 2008 07:39:58 GMT

    it had some difficulty for me Busby SEO Test

  15. Avatar
    Ric Mon, 15 Dec 2008 13:40:59 GMT

    Your rule didn’t work quite right for me, as the version of typo I’m using (5.0.3) redirects to /articles.rss or .atom when you ask for the feed. See my blog post for how I got it working.

Share your thoughts... (really...I want to hear them)

Comments