From: Daniel Molkentin Date: Wed, 24 Apr 2013 13:11:53 +0000 (+0200) Subject: Try to prefer index.php over index.html in the same directory X-Git-Tag: v6.0.0alpha2~866^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a86fe7920bd4b49f56fe4448a047e07c0356b43b;p=nextcloud-server.git 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). --- 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 + +DirectoryIndex index.php index.html + AddDefaultCharset utf-8 Options -Indexes diff --git a/index.html b/index.html index 69d42e3a0b3..f160f46b6fc 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,7 @@ +