summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-08 21:04:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-08 21:04:43 +0000
commit7c58bd510e40e5707dd1b7665a0ff2185d88a476 (patch)
tree5937d3a18248fa6896b2106db8fb8219fcb1e3af
parentAdd mod_markdown (diff)
downloadconfig-7c58bd510e40e5707dd1b7665a0ff2185d88a476.tar.bz2
config-7c58bd510e40e5707dd1b7665a0ff2185d88a476.tar.xz
config-7c58bd510e40e5707dd1b7665a0ff2185d88a476.zip
Better auto indexing
-rw-r--r--etc/apache/httpd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf
index fd4fe26..9de6355 100644
--- a/etc/apache/httpd.conf
+++ b/etc/apache/httpd.conf
@@ -58,6 +58,8 @@ LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule remoteip_module modules/mod_remoteip.so
LoadModule markdown_module modules/mod_markdown.so
+include /etc/apache2/modules.d/00_mod_autoindex.conf
+
CacheRoot "/var/cache/apache2/"
CacheEnable disk /
CacheDirLevels 2
@@ -71,6 +73,7 @@ RemoteIPProxyProtocol On
<Directory />
Options FollowSymLinks Indexes ExecCGI
+ IndexOptions NameWidth=*
AllowOverride All
</Directory>