summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-05-27 00:19:35 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-05-27 00:19:35 (EDT)
commit5fb197f394bbac9df3a2380bcb09014b43f32c8a (patch)
tree49d5acd5e42856c2caff02a640b8ecba8cf18da8 /.htaccess
parent5bda15d8321ba4173da8456426d8066fe8e5b4cd (diff)
Really really fix URL rewriting.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 2 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 85c54ce..ceaaf59 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,5 +2,6 @@ Options +Includes +FollowSymLinks
XBitHack on
RewriteEngine on
-RewriteCond %{REQUEST_FILENAME} !\.html$
+RewriteRule ^/$ index.html [L]
+RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ $1.html [L]