Fork me on GitHub

rack-block by udzura

A rack middleware for handling search bot access, ip block, etc.

Dependencies

Install

$ gem install rack-block

then edit config.ru:

use Rack::Block do
  bot_access do
    path '/foo' do
      halt 404
    end
  end
end
run YourApp.new

License

MIT License.

Author && Contact

Uchio Kondo (udzura__atmark__udzura.jp)

More Info & Download

You can download this project in either zip or tar formats, and check out more about the gem at rubygems.org.

You can also clone the project with Git by running:

$ git clone git://github.com/udzura/rack-block