Browse Source

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).
tags/v6.0.0alpha2
Daniel Molkentin 11 years ago
parent
commit
a86fe7920b
2 changed files with 4 additions and 0 deletions
  1. 3
    0
      .htaccess
  2. 1
    0
      index.html

+ 3
- 0
.htaccess View File

@@ -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

+ 1
- 0
index.html View File

@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript"> window.location.href="index.php"; </script>
<meta http-equiv="refresh" content="0; URL=index.php">
</head>
</html>

Loading…
Cancel
Save