rack
(>= 1.3)
$ 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
MIT License.
Uchio Kondo (udzura__atmark__udzura.jp)
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