Commit a86fe792 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

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).
parent 9dde43db
......@@ -32,5 +32,8 @@ RewriteRule ^remote/(.*) remote.php [QSA,L]
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
<IfModule dir_module>
DirectoryIndex index.php index.html
AddDefaultCharset utf-8
Options -Indexes
<!DOCTYPE html>
<script type="text/javascript"> window.location.href="index.php"; </script>
<meta http-equiv="refresh" content="0; URL=index.php">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment