aboutsummaryrefslogtreecommitdiffstats
path: root/conf-available/autoindex.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf-available/autoindex.conf')
-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>