asw/archive/packs/apache/apache-autoindex.conf
exe.dev user e47a9f4401 asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/
- 2.2: site/ -> archive/site/
- 2.3: src/lab/ -> archive/lab/
- 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
2026-06-07 10:39:21 +02:00

30 lines
1.1 KiB
Text

# ASW Apache Autoindex — config snippet
#
# Enables ASW-styled directory listings.
# Apache's HeaderName/ReadmeName inject custom HTML before/after the file table.
#
# Paste this into your VirtualHost block or a <Directory> block.
# Adjust paths to match your setup.
# ── Autoindex settings ───────────────────────────────────────────────────────
Options +Indexes
IndexOptions FancyIndexing HTMLTable SuppressRules SuppressColumnSorting
IndexOptions +NameWidth=* +DescriptionWidth=* +Charset=UTF-8
# Custom header/footer HTML injected around the file table
HeaderName /autoindex/autoindex-header.html
ReadmeName /autoindex/autoindex-footer.html
# Suppress the default Apache header (H1 "Index of /path")
# — our header file provides the title
IndexOptions +SuppressHTMLPreamble
# Serve the custom header/footer files
Alias /autoindex/ /home/exedev/projects/agentic-semantic-web/packs/apache/
<Directory /home/exedev/projects/agentic-semantic-web/packs/apache/>
Options None
AllowOverride None
Require all granted
</Directory>