EPrints Technical Mailing List Archive
Message: #08426
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Word Documents won't download
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "David R Newman" <drn@ecs.soton.ac.uk>, James Kerwin <jkerwin2101@gmail.com>
- Subject: Re: [EP-tech] Word Documents won't download
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Mon, 4 Jan 2021 18:02:31 +0000
CAUTION: This e-mail originated outside the University of Southampton.
I've just re-checked my config files. For 3.3.x, if you include (in e.g. 10_core.pl): $c->{http_root} = undef; It will make thumbnails/download links relative rather than absolute. I think there was more to it that that though - if you're creating downloadable content (e.g. coversheets) , you want it to render
the full links (using with https by defult). Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of David R Newman via Eprints-tech Hi all, So, the problem is the URL generated by EPrints compiled XML's cite:linkhere which uses http rather than https. The suggestion John's makes about
https://wiki.eprints.org/w/Simplified_HTTPS_Configuration#HTTPS_Only will only work if you are running EPrints 3.4.1+, which I can see that you are not.
One of the features I have been working on for 3.4.3 is protocol relative URLs which should help deal with these issues. If you are still running 3.3.x fixing these sort of problems with be tricky. I think you need to look at the various document citations
and possible eprint_render.pl and replace the http URLs with https URLs. In some cases the http URL will come from the <cite:linkshere>, which you will probably need to hack with a fix like: <a href="" and </cite:linkhere> with </a> Hope this helps David Newman On 04/01/2021 17:20, John Salter wrote:
|
- Follow-Ups:
- Re: [EP-tech] Word Documents won't download
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Word Documents won't download
- References:
- [EP-tech] Word Documents won't download
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Word Documents won't download
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Word Documents won't download
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Word Documents won't download
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Word Documents won't download
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Word Documents won't download
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Word Documents won't download
- Prev by Date: Re: [EP-tech] Word Documents won't download
- Next by Date: [EP-tech] {SPAM?} Re: Word Documents won't download
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):