[EP-tech] SWORD interface, https
John Salter
J.Salter at leeds.ac.uk
Thu Sep 27 12:01:24 BST 2012
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>
More information about the Eprints-tech
mailing list