aboutsummaryrefslogtreecommitdiffstats
path: root/conf-available
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-02-04 19:07:31 +0100
committerThomas Lange <code@nerdmind.de>2017-02-04 19:07:31 +0100
commitf4e527aac36ba77932b2ab1c8f556ab410fd8349 (patch)
treec763f23325f1d1189c37fb5580390b3ad14abcf4 /conf-available
downloadapache-autoindex-f4e527aac36ba77932b2ab1c8f556ab410fd8349.tar.gz
apache-autoindex-f4e527aac36ba77932b2ab1c8f556ab410fd8349.tar.xz
apache-autoindex-f4e527aac36ba77932b2ab1c8f556ab410fd8349.zip
Initial commit.
Diffstat (limited to 'conf-available')
-rw-r--r--conf-available/autoindex.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf-available/autoindex.conf b/conf-available/autoindex.conf
new file mode 100644
index 0000000..a7b9669
--- /dev/null
+++ b/conf-available/autoindex.conf
@@ -0,0 +1,14 @@
+<IfModule mod_autoindex.c>
+ Alias /autoindex/header.shtml /etc/apache2/customization/autoindex/header.shtml
+ Alias /autoindex/footer.shtml /etc/apache2/customization/autoindex/footer.shtml
+
+ <Directory /etc/apache2/customization/autoindex/>
+ Options +Includes
+ Require all granted
+ </Directory>
+
+ IndexOptions FancyIndexing FoldersFirst SuppressHTMLPreamble
+
+ HeaderName /autoindex/header.shtml
+ ReadmeName /autoindex/footer.shtml
+</IfModule>