Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
HostsAccess =========== Rails / Merb plugin that controls host access like hosts.allow Usage ===== config/environment.rb (in Rails) config/init.rb (in Merb) # specify hosts to allow access HostsAccess.allow = ['127.0.0.1', 'ac.wota.jp'] # allow_controller means non-acl controllers HostsAccess.allow_controller = ['account', 'stats_report'] Note ==== All accesses are allowed if no rules are given Environment =========== tested on * Rails 1.2 * Merb 1.0.3 Copyright (c) 2008 firstname.lastname@example.org, released under the MIT license