apache-config-generator/lib/apache/permissions.rb

14 lines
202 B
Ruby
Raw Normal View History

2010-04-27 21:00:43 +00:00
module Apache
module Permissions
def deny_from_all
2010-04-28 20:19:03 +00:00
order :deny, :allow
deny :from_all
2010-04-27 21:00:43 +00:00
end
def allow_from_all
2010-04-28 20:19:03 +00:00
order :allow, :deny
allow :from_all
2010-04-27 21:00:43 +00:00
end
end
end