diff options
author | Daniel Molkentin <daniel@molkentin.de> | 2013-04-24 15:11:53 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel@molkentin.de> | 2013-04-24 15:11:53 +0200 |
commit | a86fe7920bd4b49f56fe4448a047e07c0356b43b (patch) | |
tree | 9893764be8e4b5061935c2186489faa2df5f9e56 /.htaccess | |
parent | 9dde43db57f5fffc68ef096b1a041f8b5d427d96 (diff) | |
download | nextcloud-server-a86fe7920bd4b49f56fe4448a047e07c0356b43b.tar.gz nextcloud-server-a86fe7920bd4b49f56fe4448a047e07c0356b43b.zip |
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 | .htaccess | 3 |
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 |