I have been looking at the https problem by putting an fdebug in router.php and logging $_SERVER if it is an https url.
Quote: (2017-02-09T17:24:00+00:00.0.78455100 : 0)-(mem: 1.5MB)-(pid: 25266)-(ip: 5.151.0.127)-(uri: GET /fet/workbooks/fet-low/4550/unit-2-library-search)
Array
(
[REDIRECT_HTTPS] => on
[REDIRECT_SSL_TLS_SNI] => academicskills.uwe.ac.uk
[REDIRECT_STATUS] => 200
[HTTPS] => on
[SSL_TLS_SNI] => academicskills.uwe.ac.uk
[HTTP_HOST] => academicskills.uwe.ac.uk
[HTTP_CONNECTION] => keep-alive
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[HTTP_REFERER] =>
http://academicskills.uwe.ac.uk/fet/workbooks/fet-low/4418/unit-2-library-search-and-reading-lists
[HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch, br
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
[HTTP_COOKIE] => sess3c6a12f3d45e=ja3rmu3ok7fgkcflm9ti1a33g7; _gat_UA-54180852-2=1; _ga=GA1.3.1001729920.1486298165; mylogin="2c3f84d18-d220-40e4-ac69-11f0ff770e59tEJNObgHvvm1l9zRjGOzj2PhvWzGgswP8RvZidxiJIQaHsR/OVPB9VRRv5wB9eeh/iJxIqRqtleSx8x2mHkgz2wvnjWlSmsEMa+V2aiz0Claxv1V7MaltipSEPn6UzFiv+9ePkJiHjRcjVvg73Jmhg=="; sessecff4f939431=0hr4gaqmgvtq7avd4th4vdg886; _ga=GA1.4.1001729920.1486298165; _gat=1
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.4.7 (Ubuntu) Server at academicskills.uwe.ac.uk Port 443</address>
[SERVER_SOFTWARE] => Apache/2.4.7 (Ubuntu)
[SERVER_NAME] => academicskills.uwe.ac.uk
[SERVER_ADDR] => 164.11.132.140
[SERVER_PORT] => 443
[REMOTE_ADDR] => 5.151.0.127
[DOCUMENT_ROOT] => /home/academicskills/public_html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /home/academicskills/public_html
[SERVER_ADMIN] => lib.it@uwe.ac.uk
[SCRIPT_FILENAME] => /home/academicskills/public_html/modules/jrCore/router.php
[REMOTE_PORT] => 15415
[REDIRECT_QUERY_STRING] => _uri=fet/workbooks/fet-low/4550/unit-2-library-search
[REDIRECT_URL] => /fet/workbooks/fet-low/4550/unit-2-library-search
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => _uri=fet/workbooks/fet-low/4550/unit-2-library-search
[REQUEST_URI] => /fet/workbooks/fet-low/4550/unit-2-library-search
[SCRIPT_NAME] => /modules/jrCore/router.php
[PHP_SELF] => /modules/jrCore/router.php
[REQUEST_TIME_FLOAT] => 1486661040.776
[REQUEST_TIME] => 1486661040
[jr_is_ajax_request] => 0
)