Browse Source

Fix specification directory index

zrythm_meson
David Robillard 2 years ago
parent
commit
bf6b846879
  1. 5
      doc/htaccess.in

5
doc/htaccess.in

@ -13,7 +13,7 @@ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+ @@ -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 @@ -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]

Loading…
Cancel
Save