forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 18
Clarin
Jozef Misutka edited this page May 7, 2015
·
4 revisions
You can handle it in redirects, see
147 # handle cmdi requests with redirects
148 RewriteCond %{HTTP_ACCEPT} (.*xml.cmdi.*)
149 RewriteRule ^(.*)/xmlui/handle/(.*)$ https://%{HTTP_HOST}$1/oai/request?verb=GetRecord&metadataPrefix=cmdi&identifier=oai:%{HTTP_HOST}:$2 [L,R=301]
150 RewriteCond %{QUERY_STRING} format=cmdi [NC]
151 RewriteRule ^(.*)/xmlui/handle/(.*)$ https://%{HTTP_HOST}$1/oai/request?verb=GetRecord&metadataPrefix=cmdi&identifier=oai:%{HTTP_HOST}:$2 [L,R=301]
1