aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-26 17:37:51 +0200
committerDavid Robillard <d@drobilla.net>2020-04-26 17:37:51 +0200
commitbf6b8468790382bd26dfb614936f788ec82f6b9e (patch)
tree8edf25899209aad74eea6dc2b3f79a2e452dc95c
parent0976ea4ea523e7ba534968e35b9bfeb6b9cb5482 (diff)
downloadlv2-bf6b8468790382bd26dfb614936f788ec82f6b9e.tar.xz
Fix specification directory index
-rw-r--r--doc/htaccess.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/htaccess.in b/doc/htaccess.in
index 18a3d14..ae5affe 100644
--- a/doc/htaccess.in
+++ b/doc/htaccess.in
@@ -13,7 +13,7 @@ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
-RewriteRule ^([^.]*)$ $1.html [L]
+RewriteRule ^([^.]+)$ $1.html [L]
# Rewrite rule to serve Turtle content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
@@ -21,4 +21,5 @@ RewriteCond %{HTTP_ACCEPT} application/x-turtle
RewriteRule ^([^.]*)$ $1.ttl [L]
# Serve HTML page by default
-RewriteRule ^([^.]*)$ $1.html [L]
+RewriteRule ^$ index.html [L]
+RewriteRule ^([^.]+)$ $1.html [L]