1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00
audacity/lib-src/lv2/lv2/doc/htaccess.in
lllucius bc5e7ffce8 Adding new libraries for LV2 support.
lilv-0.16.0
lv2-1.6.0
serd-0.18.2
sord-0.12.0
sratom-0.4.2
2013-10-27 08:56:51 +00:00

25 lines
809 B
Plaintext

# Turn off MultiViews
Options -MultiViews
# Ensure *.ttl files are served as appropriate content type and encoding
AddType 'text/turtle; charset=UTF-8' .ttl
# Rewrite engine setup
RewriteEngine On
RewriteBase @BASE@
# Rewrite rule to serve HTML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ @NAME@.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 ^$ @NAME@.ttl [L]
# Serve HTML page by default
RewriteRule ^$ @NAME@.html [L]