PKP Bugzilla – Bug 8567
Support protocol-relative URLs in base_url[...] configs
Last modified: 2014-02-19 10:08:02 PST
See http://pkp.sfu.ca/support/forum/viewtopic.php?f=40&t=11626 --
Defining base_url[...] directives currently requires a fixed protocol (e.g. http or https). Mixing this in http configuration with force_login_ssl causes subrequests of https pages to go out with http urls; this is a bad idea and also doesn't work.
Solution: apply the attached patch in lib/pkp.
Thereafter, you should be able to configure protocol-relative base_url[...] directives, e.g.:
base_url[myJournal] = //index.php/myJournal
(beginning with // indicates a protocol-relative URL, implying http: or https: at the beginning, depending on the current context)
Support protocol relative URLs in base_url[...]