Module: Apache::Directories

Included in:
Config
Defined in:
lib/apache/directory.rb

Overview

Methods to handle directory settings

Instance Method Summary collapse

Instance Method Details

#index_options(*opt) ⇒ Object

Create an IndexOptions directive

The options passed into this method are Apachified:

index_options :fancy_indexing, :suppress_description #=> IndexOptions FancyIndexing SuppressDescription


16
17
18
# File 'lib/apache/directory.rb', line 16

def index_options(*opt)
  create_options_list('index_options'.apachify, *opt)
end

#options(*opt) ⇒ Object

Create an Options directive

The options passed into this method are Apachified:

options :exec_cgi, :follow_sym_links #=> Options ExecCGI FollowSymLinks


8
9
10
# File 'lib/apache/directory.rb', line 8

def options(*opt)
  create_options_list('options'.apachify, *opt)
end