Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel@molkentin.de>2013-04-24 17:11:53 +0400
committerDaniel Molkentin <daniel@molkentin.de>2013-04-24 17:11:53 +0400
commita86fe7920bd4b49f56fe4448a047e07c0356b43b (patch)
tree9893764be8e4b5061935c2186489faa2df5f9e56 /.htaccess
parent9dde43db57f5fffc68ef096b1a041f8b5d427d96 (diff)
Try to prefer index.php over index.html in the same directory
Add JS redirect if that fails (HTTP-based redirects are disabled by default in more recent Firefox versions).
Diffstat (limited to '.htaccess')
-rwxr-xr-x.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 463b49993e6..201e0d605b7 100755
--- a/.htaccess
+++ b/.htaccess
@@ -32,5 +32,8 @@ RewriteRule ^remote/(.*) remote.php [QSA,L]
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
+<IfModule dir_module>
+DirectoryIndex index.php index.html
+</IfModule>
AddDefaultCharset utf-8
Options -Indexes