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).
remotes/origin/stable6
Daniel Molkentin 11 years ago
parent 9dde43db57
commit a86fe7920b

@ -32,5 +32,8 @@ RewriteRule ^remote/(.*) remote.php [QSA,L]
AddType image/svg+xml svg svgz AddType image/svg+xml svg svgz
AddEncoding gzip svgz AddEncoding gzip svgz
</IfModule> </IfModule>
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8 AddDefaultCharset utf-8
Options -Indexes Options -Indexes

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

Loading…
Cancel
Save