Skip to content

Commit 0ea13f0

Browse files
authored
fix redirects for DEV and QA endpoints
1 parent f3a4bdf commit 0ea13f0

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

helmholtzkg/.htaccess

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ Options +FollowSymLinks
99
Options -MultiViews
1010

1111
RewriteEngine on
12+
# redirect hashcodes of entities to the DEV Qlever endpoint with SPARQL query
13+
RewriteRule ^dev/(.*)$ "https://qlever.dev.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\http://purls.helmholtz-metadaten.de/helmholtzkg/dev/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
14+
15+
# redirect hashcodes of entities to the QA Qlever endpoint with SPARQL query
16+
RewriteRule ^qa/(.*)$ "https://qlever.qa.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\http://purls.helmholtz-metadaten.de/helmholtzkg/qa/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
1217

1318
# redirect hashcodes of entities to the PROD Qlever endpoint with SPARQL query
1419
RewriteRule ^(.*)$ "https://qlever.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\http://purls.helmholtz-metadaten.de/helmholtzkg/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
1520

16-
# redirect hashcodes of entities to the DEV Qlever endpoint with SPARQL query
17-
RewriteRule ^(.*)$ "https://qlever.dev.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\http://purls.helmholtz-metadaten.de/helmholtzkg/dev/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
18-
19-
20-
# redirect hashcodes of entities to the QA Qlever endpoint with SPARQL query
21-
RewriteRule ^(.*)$ "https://qlever.qa.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\http://purls.helmholtz-metadaten.de/helmholtzkg/qa/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]

0 commit comments

Comments
 (0)