# PUBLISHED at `http://reluk.ca/sys/computer/server/etc/apache2/7_domain/reluk.ca/public/`
# because projects Web Autoindex and `proto-wayic.mod_autoindex` refer to it there.
# http://reluk.ca/project/proto-wayic/mod_autoindex/directory_document.conf
# http://reluk.ca/project/Web/autoindex/
# Basic Form of autoindex
# ──────────
#
# SetEnv AUTOINDEX_FORM 'readme'
#
#
# SetEnv AUTOINDEX_FORM 'readme'
#
# ⋮
#
#
# SetEnv AUTOINDEX_FORM 'deprecated'
#
# ───
# The preceding fails. It intends a selection of either the `deprecated` form or the `readme` form,
# each cleanly configured from scratch. Shown above is the part that sets variable `AUTOINDEX_FORM`.
# Not shown are the actual configuration directives for each form. These would be wrapped in `If`
# sections conditional on the value of `AUTOINDEX_FORM`. Yet tests show (via `LogMessage`) that
# while such wrapping itself works, regardless the index is always served in `deprecated` form.
#
# Instead therefore the following selects between a clean configuration of the `deprecated` form,
# or a `readme` override of it.
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/deprecated.conf'
# Beware here of the ‘container restriction’ (q.v. below) on `autoindex/readme.conf`.
# Matching that directory (and, though immaterial to the present directives, its regular
# file content) exclusive of subdirectories. https://stackoverflow.com/a/64451617/2402790
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
# Working around the container restriction of `autoindex/readme.conf`: its `IndexIgnoreReset` has
# been applied by `DirectoryMatch/Include` above, but not its subsequent `IndexIgnore`.
# This filterless container serves only to ensure that its contained `IndexIgnore` applies
# after the `IndexIgnoreReset` of the preceding `DirectoryMatch`, even though its parent
# `Directory` applies *before*. https://httpd.apache.org/docs/2.4/sections.html#merging
IndexIgnore autoindex.css autoindex.js README.html *.brec.xht
# Inadvertently this will affect subdirectories, too.
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
# Matching that directory (and, though immaterial to the present directives, its regular
# file content) exclusive of subdirectories. https://stackoverflow.com/a/64451617/2402790
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
# Again working around the container restriction, as per further above.
IndexIgnore autoindex.css autoindex.js README.html *.brec.xht
# Matching that directory (and, though immaterial to the present directives, its regular
# file content) exclusive of subdirectories. https://stackoverflow.com/a/64451617/2402790
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
# Again working around the container restriction, as per further above.
IndexIgnore autoindex.css autoindex.js README.html *.brec.xht
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/readme.conf'
Include '/etc/apache2/7_domain/reluk.ca/public/autoindex/Git_Hub/readme.conf'
# Icons
# ─────
Alias /icons '/usr/share/apache2/icons'
Options FollowSymLinks Indexes MultiViews
Require all granted
DefaultIcon /icons/small/blank.gif
AddIcon /icons/small/blank.gif ^^BLANKICON^^
AddIcon (PAR,/icons/local/z_up-160.png) ..
# It seems the ‘Parent Directory’ label in the index is not configurable.
AddIcon (ETC,/icons/local/hicolor/generic/stock_folder-properties.png) _
# The `alt` values (here ‘ETC’) are referents
# of `/_/Web_service/autoindex/deprecated/autoindex.css`.
AddIcon (DIR,/icons/local/hicolor/generic/stock_folder.png) ^^DIRECTORY^^
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) bibliography.brec
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) glossary.brec
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) index.brec
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) lexicon.brec
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) project_installation.brec
AddIcon (brc,/icons/local/xfe/help.png) readme.brec
AddIcon (brc,/icons/local/xfe/help.png) README.brec
AddIcon (brc,/icons/local/z_circle_unfilled_grey.png) working_notes.brec
AddIcon (brc,/icons/local/z_circle_grey.png) .brec
AddIcon (dtd,/icons/local/z_tile+130.png) .dtd
AddIcon (-el,/icons/local/z_circle-060.png) .el
AddIcon (ent,/icons/local/z_tile+180.png) .ent
AddIcon (p-h,/icons/small/blank.gif) package.html
AddIcon (h-f,/icons/local/z_navigator_white.png) .htmlf
AddIcon (jav,/icons/local/z_circle_unfilled+180.png) BuildTarget.java
AddIcon (jav,/icons/local/z_circle_unfilled+180.png) package-info.java
AddIcon (jav,/icons/local/z_circle+180.png) .java
AddIcon (j-f,/icons/local/z_navigator_white.png) .jspf
AddIcon (jnl,/icons/local/z_tile-030.png) .jnlp
AddIcon (-js,/icons/local/xfe/class_16x16.png) .js
AddIcon (jsm,/icons/local/xfe/java_16x16.png) .jsm
AddIcon (jsm,/icons/local/xfe/java_16x16.png) .json
AddIcon (jsp,/icons/local/z_navigator-030.png) .jspx
AddIcon (mod,/icons/local/z_tile+160.png) .mod
AddIcon (-pl,/icons/local/hicolor/image/stock_circle_unfilled.png) .pl
AddIcon (-pm,/icons/local/hicolor/image/stock_circle.png) .pm
AddIcon (rdf,/icons/local/hicolor/image/stock_draw-pyramid.png) .rdf
# AddIcon (txt,/icons/small/text.gif) .txt
# AddIcon (txt,/icons/local/hicolor/text/stock_styles-update-style.png) .txt
## better to leave it blank
AddIcon (xml,/icons/local/z_tile.png) .xml
AddIcon (xsd,/icons/local/z_tile-030.png) .xsd
AddIcon (xsl,/icons/local/z_tile-030.png) .xslt
# AddIconByType (txt,/icons/small/text.gif) text/*
# AddIconByType (txt,/icons/local/hicolor/text/stock_styles-update-style.png) text/*
### but that would be too broad and unpredictable in its effect
AddIconByType (css,/icons/local/hicolor/text/stock_styles-update-style.png) text/css
AddIconByType (htm,/icons/local/z_navigator+145.png) text/html
AddIconByType (jpg,/icons/local/xfe/jpeg_16x16.png) image/jpeg
AddIconByType (png,/icons/local/xfe/png_16x16.png) image/png
AddIconByType (svg,/icons/local/hicolor/image/stock_draw-freeform-line.png) image/svg+xml
AddIconByType (htm,/icons/local/z_navigator+145.png) application/xhtml+xml