[Hippo-cms7-user] Detecting the default channel manager rest uri?

Woonsan Ko w.ko at onehippo.com
Thu Sep 13 16:39:09 CEST 2012


On 9/13/12 2:22 AM, Ard Schrijvers wrote:
>  > > However, there is also the client side rest calls between cms and
> side. These are the calls including _rp. These need to go over the host
> of the cms.
>  >
>  > Why don't they (client side scripts) use relative urls then? Base
> relative path only can be configured then.
>
>  From the top of my head the client nor the server side can correctly
> know the possible contextpath in the url.or not when there are proxies
> involved. I cant recall all the details now but sure i can take some look.
>

I meant that scheme, server name and port numbers are auto-detectable 
from both server-side and client-side.
Of course, the remaining base path (context path + base path info) 
should be configurable with a reasonable default value.

Regards,

Woonsan

-- 
w.ko at onehippo.com     www.onehippo.com
Boston - 1 Broadway, Cambridge, MA 02142
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466



More information about the Hippo-cms7-user mailing list