Rails/Merb plugin that controls host access like hosts.allow
License
maiha/hosts_access
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 maiha@wota.jp, released under the MIT license
About
Rails/Merb plugin that controls host access like hosts.allow
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published