I believe Jesse raised this problem sometime ago:
http://markmail.org/message/27jfrktjrmhw7nm5



http://codereview.appspot.com/2000043/diff/13001/5003
File
java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java
(right):

http://codereview.appspot.com/2000043/diff/13001/5003#newcode90
java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java:90:
addCommonEnvironmentVarsToAllContainers(configJson, host, port);
On 2010/08/24 16:50:26, zhoresh wrote:
I thought that all containers configs are derived from the default
container
config, so won't they just inherit the host and port?
Can you explain the case you notice the problem.

I noticed the problem when i tried to add accel container config by
modifying container.js like this:
{"gadgets.container" : ["default", "accel"],

In case of accel servlet, the following variable:
"defaultShindigProxyConcatAuthority": "${SERVER_HOST}:${SERVER_PORT}"

has value ":"
and hence proxied urls look like this:

//:/gadgets/...

Look at the test case to see whats going wrong.

http://codereview.appspot.com/2000043/

Reply via email to