# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
+# RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
+# Rotate logs when the file grows to 10Mb, keep 10 old log files
+config.logger = Logger.new(config.log_path, 10, 10.megabytes)
+
# Use a different cache store in production
# config.cache_store = :mem_cache_store
:conditions => { :method => :get },
:controller => 'feed',
:action => 'show'
- map.update ':ignored',
+ map.update '*ignored',
:conditions => { :method => :post },
- :defaults => { :ignored => nil },
+ #:defaults => { :ignored => nil },
:controller => 'feed',
:action => 'update'
+ map.connect '*ignored',
+ :controller => 'feed',
+ :action => 'index'
+
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
map.root :controller => "feed"
+++ /dev/null
-HTTP/1.1 200 OK \r
-Cache-Control: private, max-age=0, must-revalidate\r
-Connection: Keep-Alive\r
-Date: Wed, 22 Jul 2009 12:44:26 GMT\r
-Content-Type: application/rss+xml; charset=utf-8\r
-Etag: "e7d0d2fad560d3d17bc9fa379dff26d7"\r
-Server: WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24)\r
-X-Runtime: 33\r
-Content-Length: 710\r
-\r
+++ /dev/null
-HTTP/1.1 200 OK \r
-Cache-Control: private, max-age=0, must-revalidate\r
-Connection: Keep-Alive\r
-Date: Wed, 22 Jul 2009 12:46:46 GMT\r
-Content-Type: application/rss+xml; charset=utf-8\r
-Etag: "0fcd2f586381d34c341be820ea75fa9a"\r
-Server: WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24)\r
-X-Runtime: 67\r
-Content-Length: 2528\r
-\r