Skip to content

Commit 292f975

Browse files
authored
Update .htaccess for QA and PROD redirect rules to https
1 parent 0855e92 commit 292f975

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helmholtzkg/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ RewriteEngine on
1414
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\https://purls.helmholtz-metadaten.de/helmholtzkg/dev/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
1515

1616
# redirect hashcodes of entities to the QA Qlever endpoint with SPARQL query
17-
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]
17+
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\https://purls.helmholtz-metadaten.de/helmholtzkg/qa/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
1818

1919
# redirect hashcodes of entities to the PROD Qlever endpoint with SPARQL query
20-
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]
20+
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\https://purls.helmholtz-metadaten.de/helmholtzkg/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
2121

0 commit comments

Comments
 (0)