aboutsummaryrefslogtreecommitdiffstats
path: root/doc/htaccess.in
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-26 17:02:50 +0200
committerDavid Robillard <d@drobilla.net>2020-04-26 17:02:50 +0200
commit3ce35fb6fae74164dbbd35bc14e7bf2ab03cadf5 (patch)
treebe900f42edb8aeacc5c2cb01af97da3b6bc4543f /doc/htaccess.in
parent5f40c5c421ffc50783962efb4cab151c8c2519dd (diff)
downloadlv2-3ce35fb6fae74164dbbd35bc14e7bf2ab03cadf5.tar.xz
Fix htaccess files
Diffstat (limited to 'doc/htaccess.in')
-rw-r--r--doc/htaccess.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/htaccess.in b/doc/htaccess.in
index e1ac1df..18a3d14 100644
--- a/doc/htaccess.in
+++ b/doc/htaccess.in
@@ -13,12 +13,12 @@ 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]
RewriteCond %{HTTP_ACCEPT} application/x-turtle
-RewriteRule ^(.*)$ $1.ttl [L]
+RewriteRule ^([^.]*)$ $1.ttl [L]
# Serve HTML page by default
-RewriteRule ^(.*)$ $1.html [L]
+RewriteRule ^([^.]*)$ $1.html [L]