EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01116


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] SWORD interface, https


Hi,
Just wondering if anyone had come across this issue:
EPrints 3.3.10, running over https
In the <head>, the SWORD endpoint is listed over https OK:
<link rel="Sword" href="https://my.server.name/sword-app/servicedocument"; />
<link rel="SwordDeposit" href="https://my.server.name/id/contents"; />

In the service document, it's also listed over https:
<collection href="https://my.server.name/id/contents";>

In the Atom document for an item, all the URIs for editing etc. are http, not https (full atom feed is at end of email):
<link rel="self" href="/cgi/export/eprint/22/Atom/reponame-eprint-22.xml"/>
<link rel="edit" href="http://my.server.name/id/eprint/22"/>
<link rel="edit-media" href="http://my.server.name/id/eprint/22/contents"/>
<link rel="contents" href="http://my.server.name/id/eprint/22/contents"/>
<link rel="alternate" href="http://my.server.name/id/eprint/22"/>

Is there some configuration that I need to update to make the edit URIs https?

Cheers,
John


<?xml version="1.0" encoding="utf-8" ?>
<entry xmlns="http://www.w3.org/2005/Atom"; xmlns:sword="http://purl.org/net/sword/";>
  <link rel="self" href="/cgi/export/eprint/22/Atom/reponame-eprint-22.xml"/>
  <link rel="edit" href="http://my.server.name/id/eprint/22"/>
  <link rel="edit-media" href="http://my.server.name/id/eprint/22/contents"/>
  <link rel="contents" href="http://my.server.name/id/eprint/22/contents"/>
  <link rel="alternate" href="http://my.server.name/id/eprint/22"/>
  <published/>
  <updated>2012-09-27T09:22:53Z</updated>
  <id>http://my.server.name/id/eprint/22</id>
  <category label="UNSPECIFIED" scheme="http://my.server.name/data/eprint/type"/>
  <category term="inbox" label="User Workarea" scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status"/>
  <link rel="http://purl.org/net/sword/terms/statement"; href="http://my.server.name/id/eprint/22"/>
  <sword:state href="http://eprints.org/ep2/data/2.0/eprint/eprint_status/inbox"/>
  <sword:stateDescription>This item is still in the user's work area.</sword:stateDescription>
  <sword:originalDeposit href="http://my.server.name/id/eprint/22";>
    <sword:depositedOn/>
    <sword:depositedBy>admin</sword:depositedBy>
  </sword:originalDeposit>
  <title type="xhtml">

UNSPECIFIED #22

</title>
</entry>