1. Indexes directives requirements
Intro - requirements
Requirements:
- Apache v2.2
- AccessFileName .htaccess (httpd-default.conf)
The Indexes grouping of directives allows you the use of directives CONTROLLING DIRECTORY INDEXING.
- Directives available under Indexes:
- mod_autoindex:
- DefaultIndexing: HeaderName, ReadmeName, IndexHeadInsert, IndexIgnore, IndexOptions, IndexStyleSheet
- FancyIndexing (if AllowOverride All or AllowOverride Indexes and IndexOptions +FancyIndexing): AddAlt, AddAltByEncoding, AddAltByType, AddDescription, AddIcon, AddIconByEncoding, AddIconByType, DefaultIcon, IndexOrderDefault
- mod_dir:
- DefaultIndexing: DirectoryIndex, DirectorySlash, FallbackResource
- mod_autoindex:
- Directives allowed in .htaccess only if:
- httpd.conf file:
- AllowOverride All or
- AllowOverride Indexes or
- AllowOverride Options or
- AllowOverride Options Indexes
- httpd.conf file:
- Directives will work only if the next 2 modules are enabled on server:
- httpd.conf file:
- mod_autoindex.so
- mod_dir.so
- httpd.conf file: