Print

Print


If you are using hdl.handle.net URL, there is no way to run a custom server
for redirect. You have to either talk to handle.net for a custom 404 page or
have to maintain a handle server.

Kun

-----Original Message-----
From: Code for Libraries <[log in to unmask]> On Behalf Of Stuart A.
Yeates
Sent: Monday, March 1, 2021 4:41 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Moving away from handle service

Does the Apache rewrite map approach with http://hdl.handle.net/ handles?

We mint handles like: http://hdl.handle.net/10063/1710 and the handle.net
handle server listens on a custom port that helps that get resolved to
https://researcharchive.vuw.ac.nz/handle/10063/1710

cheers
stuart
--
...let us be heard from red core to black sky

On Tue, 2 Mar 2021 at 12:47, Hardy Pottinger <[log in to unmask]>
wrote:
>
> Hello! I've worked with an institution which moved from a custom
> repository to a DSpace repository (generating handles) and then
> decided to move elsewhere (oh no, our handles need to redirect!) We
> ended up using an Apache rewrite map [1] on the DSpace server's Apache
> front-end proxy. It's a bit fiddly to set up, and you'll get to use
> your scripting skills to generate the map and config. But as soon as
> it's done, it'll just do its job.
>
> 1. https://httpd.apache.org/docs/current/rewrite/rewritemap.html
>
> On Mon, Mar 1, 2021 at 5:38 PM Kun Lin <[log in to unmask]> wrote:
>
> > For handle, if you are using  hdl.handle.net  domain, you have to
> > maintain the handle server for it to resolve. But if you are using
> > your own domain name, it's very easy to write a script for URL
> > redirect. This is the reason I insisted on using our domain name
> > instead of hdl.handle.net However, handle.net organization did tell
> > me before that they are open to the idea of a customized 404 page
> > for organization that moved away from handle and decommissioned their
> > handle server.
> >
> > Kun Lin
> >
> > -----Original Message-----
> > From: Code for Libraries <[log in to unmask]> On Behalf Of
> > Peter Murray
> > Sent: Monday, March 1, 2021 2:52 PM
> > To: [log in to unmask]
> > Subject: Re: [CODE4LIB] Moving away from handle service
> >
> > If it were me, I’d write a script that fills an S3 bucket with HTML
> > files containing
> >
> >  <meta http-equiv="refresh" content="time; URL=new_url" />
> >
> > ...and nice body content that points users to handle destination.
> > Then throw a CloudFront distribution in front of it, change the DNS,
> > and call it a day.
> > You’ll spend a couple bucks a month for storage and bandwidth, but
> > the ultimate control stays with the institution.
> >
> > Peter
> > On Mar 1, 2021, 5:19 PM -0500, Stuart A. Yeates <[log in to unmask]>,
> > wrote:
> > > My institution has used handles for more than a decade and would
> > > like to stop (non-standard ports, special server, etc),
> > > particularly as we're now committed to DOIs.
> > >
> > > However, we don't want to break URLs.
> > >
> > > Does anyone know of a third party service that we can hand a list
> > > of handle-to-URL-mappings and walk away? Preferably with a single
> > > upfront payment rather than on-going cost.
> > >
> > > cheers
> > > stuart
> > > --
> > > ...let us be heard from red core to black sky
> >