Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
2.0 Final
-
None
-
The author instance (running on port 8081) is accessed via HTTPS, Apache, mod_jk.
The public instance (running on port 8082) is accessed via HTTP, Apache, mod_jk.
Description
Activation does not work because
- in info.magnolia.cms.servlets.SimpleExchange.getProtocolName() the protocol to access the author instance is determined using the activation request (instead of how to access the author instance

- the port to access the author instance is determined using the request-header remote-port.
Please send the protocol to access the author instance as request-header (like you do with the remote-port)
for example:
In info.magnolia.cms.exchange.simple.Syndicator.addActivationHeaders():
String remoteProtocol = this.request.isSecure()?"HTTPS":"HTTP";
connection.addRequestProperty("remote-protocol",remoteProtocol);
In info.magnolia.cms.servlets.SimpleExchange.doGet():
this.protocol = this.request.getHeader("remote-protocol");
Checklists
Acceptance criteria