Permalink
Browse files

Don't redirect XML feed requests

  • Loading branch information...
1 parent 5fae327 commit 3a208eebf9301af2b8f1ad16743812e73ba8c104 @rwdaigle committed Jul 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 config.ru
View
6 config.ru
@@ -34,9 +34,9 @@ use Rack::Rewrite do
# http://ryandaigle.com/archives/2007/10
r301 %r{/archives/(\d{4})/(\d+)}, 'http://archives.ryandaigle.com/archives/$1/$2'
- r301 %r{/articles.xml(\?.*)?}, 'http://feeds.feedburner.com/RyansScraps', :if => Proc.new { |rack_env|
- ENV['RACK_ENV'] == 'production' && rack_env['HTTP_USER_AGENT'] !~ /FeedBurner/
- }
+ # r301 %r{/articles.xml(\?.*)?}, 'http://feeds.feedburner.com/RyansScraps', :if => Proc.new { |rack_env|
+ # ENV['RACK_ENV'] == 'production' && rack_env['HTTP_USER_AGENT'] !~ /FeedBurner/
+ # }
end
require 'nesta/env'

0 comments on commit 3a208ee

Please sign in to comment.