[EP-tech] https-only site patch
Carl Franks
C.A.Franks at dundee.ac.uk
Mon Sep 3 13:29:13 BST 2012
Hi,
I've put together a patch against eprints 3.3.10 for your consideration.
It allows us to remove the $c->{host} configuration option, to run the repository entirely under the "securehost" https domain.
The patch does the following, when "host" conf is not set:
* EPrints::URL forces "scheme" to "https" to ensure all generated URLs are https.
* bin/generate_apacheconf does not generate a "cfg/apache/[repo].conf" file.
* don't set a non-secure login cookie
* all other code which relied on "host", now falls back to "securehost"
Carl Franks
Technology and Innovation in Learning Team
Medical Education Institute
University of Dundee
School of Medicine
ext 83041
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
A non-text attachment was scrubbed...
Name: https-only.patch
Type: application/octet-stream
Size: 4231 bytes
Desc: https-only.patch
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120903/4ffb5d3a/attachment.obj
More information about the Eprints-tech
mailing list