Skip to content

Commit f3a4bdf

Browse files
authored
Add redirects for dev and qa Qlever endpoints
1 parent d43ff5e commit f3a4bdf

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

helmholtzkg/.htaccess

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,12 @@ Options -MultiViews
1010

1111
RewriteEngine on
1212

13-
# redirect hashcodes of entities to the Qlever endpoint with SPARQL query
14-
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/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
13+
# redirect hashcodes of entities to the PROD Qlever endpoint with SPARQL query
14+
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]
15+
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)