Closed alessandroenea closed 8 years ago
In the official document: https://github.com/ufal/lindat-dspace/wiki/Repository-Checklist the block: "For accept header cmdi and query string format=cmdi. In apache it's as follows:" contains this two lines:
RewriteCond %{QUERY_STRING} format=cmdi [NC] RewriteRule ^(.*)/xmlui/handle/(.*)$ https://%{HTTP_HOST}$1/oai/cite?metadataPrefix=cmdi&handle=$2 [L,R=301]
which don't work with our Apache 2.4.7.
We changed them as follows:
RewriteCond %{QUERY_STRING} format=cmdi [NC] RewriteCond %{REQUEST_URI} ^(.*)/xmlui/handle/(.*)$ RewriteRule ^(.*)/xmlui/handle/(.*)$ https://%{HTTP_HOST}$1/oai/cite?metadataPrefix=cmdi&handle=$2 [R,L]
I've put a link back to this issue from the wiki in case someone else has similar issue.
However, I've tested it with Server version: Apache/2.4.18 (Ubuntu) and it seemed ok.
Server version: Apache/2.4.18 (Ubuntu)
In the official document: https://github.com/ufal/lindat-dspace/wiki/Repository-Checklist the block: "For accept header cmdi and query string format=cmdi. In apache it's as follows:" contains this two lines:
which don't work with our Apache 2.4.7.
We changed them as follows: