Skip to content

Commit 48f4741

Browse files
authored
Merge pull request perma-id#2792 from ProyectoAether/master
Update .htaccess
2 parents e470852 + feaffb3 commit 48f4741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OntoSecurityGraphDB/.htaccess

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AddType application/ld+json .jsonld
1111
# Rewrite engine setup
1212
RewriteEngine On
1313
#Change the path to the folder here
14-
RewriteBase /
14+
RewriteBase /
1515

1616
# Rewrite rule to serve HTML content from the vocabulary URI if requested
1717
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
@@ -25,7 +25,7 @@ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+
2525
RewriteCond %{HTTP_ACCEPT} text/html [OR]
2626
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
2727
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
28-
RewriteRule ^(.+) https://proyectoaether.github.io/OntoSecurityGraphDB/index-en.html#/$1 [R=303,NE]
28+
RewriteRule ^(.+) https://proyectoaether.github.io/OntoSecurityGraphDB/index-en.html#$1 [R=303,NE]
2929

3030
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
3131
RewriteRule ^(.+) https://raw.githubusercontent.com/ProyectoAether/OntoSecurityGraphDB/main/OntoSecurityGraphDB.owl [R=302,NE,L]

0 commit comments

Comments
 (0)