Fix broken links / behavour when using https

Hoskin, Christopher (2007) Fix broken links / behavour when using https.

[img] Patch file - ASCII
Available under License Creative Commons GNU GPL (Software).

13kB (274 downloads)

Official URL: http://www.history.ox.ac.uk

Item Type: Patch
EPrints Version: EPrints 3
License: GPL
Date: 4 April 2007
Creators Name: Hoskin, Christopher
Department: Faculty of History
Institution: University of Oxford
Date Deposited: 25 May 2007 01:14
Last Modified: 14 May 2010 12:18

Abstract

There appear to be some problems running EPrints 3 with https (see Tech List thread 6588) due to urls in links and form actions begining http instead of https or vica versa. This patch seeks to resolve this problem by introducing a configuration variable users_url in 20_baseurls.pl. The use of perl_url has been replaced with users_url for all links to scripts in cgi/users. For insecure use, users_url can be set to perl_url. When https is requires, it can be adjusted appropriately.

Requirements

Eprints 3

Installation

patch -d eprints-3.0/ -p0 < users-url.patch

Copyright

Christopher Hoskin, Faculty of History, University of Oxford


Repository Staff Only: edit this item