Hi Bryan,

In your local.cfg file (or dspace.cfg), the Handle prefix is configured with:

handle.canonical.prefix

Note that changing this configuration parameter will not change any existing 
dc.identifier.uri metadata (where the Handle is stored). It would only apply to 
newly archived items.

The OAI bitstream URL prefix can be configured with:

oai.bitstream.baseUrl

When changing this parameter, you will need to run “dspace oai import -c” to 
re-create the stored XML used by OAI when applying crosswalks.

After that, make sure you run “dspace oai clean-cache” to make sure you don’t 
get any stale data from before.

As for when you say “The URLs in DB are HTTPS” I’m not sure what might be going 
there, unless maybe you have a crosswalk rule that is changing them.

--
Sean

From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of 
Snickers <crimson....@gmail.com>
Date: Monday, June 19, 2023 at 10:34 PM
To: DSpace Technical Support <dspace-tech@googlegroups.com>
Subject: [dspace-tech] OAI-PMH returns http URLs in the metadata field
Caution: This message was sent from outside the University of Manitoba.

Hi All,

We use Dspace 7.4 and OAI-PMH works well.

The issue is that the URLs for handle.net and bitstream download show HTTP 
instead of HTTPS. How can we convert the URLs provided by OAI-PMH to be HTTPS?

The URLs in DB are HTTPS so not sure why the metadata provides HTTP URLs.

Regards,
Bryan
--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/79497055-9c41-4d05-ac44-6bec1666eb89n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/79497055-9c41-4d05-ac44-6bec1666eb89n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YQBPR01MB10515F6F26EEC49D5F0B3B7C1E85CA%40YQBPR01MB10515.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to