summaryrefslogtreecommitdiffstats
path: root/build/.htaccess
diff options
context:
space:
mode:
authorRobert Scheck <robert@fedoraproject.org>2017-02-16 11:45:11 +0100
committerRobert Scheck <robert@fedoraproject.org>2017-02-20 13:09:15 +0100
commit25a2cb8c6e821df0360d1843c5266cbf7acc2b55 (patch)
treee84c6d9c4ebdf04b5b74318cf8841f876b62d0ca /build/.htaccess
parentf25c89461c986b31171270e2186d000030b8df2e (diff)
downloadnextcloud-server-25a2cb8c6e821df0360d1843c5266cbf7acc2b55.tar.gz
nextcloud-server-25a2cb8c6e821df0360d1843c5266cbf7acc2b55.zip
Only request "IndexIgnore" if mod_autoindex is loaded
Signed-off-by: Robert Scheck <robert@fedoraproject.org>
Diffstat (limited to 'build/.htaccess')
-rw-r--r--build/.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/.htaccess b/build/.htaccess
index c7a7b79feac..853aed187d3 100644
--- a/build/.htaccess
+++ b/build/.htaccess
@@ -9,4 +9,6 @@ deny from all
</ifModule>
# section for Apache 2.2 and 2.4
+<ifModule mod_autoindex.c>
IndexIgnore *
+</ifModule>